Package com.google.cloud.bigquery
Class QueryParameterValue.Builder
java.lang.Object
com.google.cloud.bigquery.QueryParameterValue.Builder
- Enclosing class:
- QueryParameterValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract QueryParameterValuebuild()Creates aQueryParameterValueobject.abstract QueryParameterValue.BuildersetArrayType(StandardSQLTypeName arrayType) Sets the data type of the array elements.setArrayValues(List<QueryParameterValue> arrayValues) Sets array values.setRangeValues(Range range) Sets range values.setStructTypes(Map<String, QueryParameterValue> structTypes) Sets the data type of the struct elements.setStructValues(Map<String, QueryParameterValue> structValues) Sets struct values.abstract QueryParameterValue.BuildersetType(StandardSQLTypeName type) Sets the parameter data type.abstract QueryParameterValue.BuilderSets the value to the given scalar value.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setValue
Sets the value to the given scalar value. -
setArrayValues
Sets array values. The type must set to ARRAY. -
setStructValues
Sets struct values. The type must set to STRUCT. -
setRangeValues
Sets range values. The type must set to RANGE. -
setType
Sets the parameter data type. -
setArrayType
Sets the data type of the array elements. The type must set to ARRAY. -
setStructTypes
Sets the data type of the struct elements. The type must set to STRUCT. -
build
Creates aQueryParameterValueobject.
-