Package com.google.cloud.bigquery
Class Parameter.Builder
java.lang.Object
com.google.cloud.bigquery.Parameter.Builder
- Enclosing class:
- Parameter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Parameterbuild()Creates aParameterobject.abstract Parameter.Builder[Optional] Sets the name of the query parameter.abstract Parameter.BuildersetValue(QueryParameterValue parameter) Sets the the value for a query parameter along with its type.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setName
[Optional] Sets the name of the query parameter. If unset, this is a positional parameter. Otherwise, should be unique within a query.- Parameters:
name- name ornullfor none
-
setValue
Sets the the value for a query parameter along with its type.- Parameters:
parameter- parameter ornullfor none
-
build
Creates aParameterobject.
-