Uses of Class
com.google.cloud.bigquery.QueryParameterValue
Packages that use QueryParameterValue
Package
Description
A client for BigQuery – A fully managed, petabyte scale, low cost enterprise data warehouse for
analytics.
-
Uses of QueryParameterValue in com.google.cloud.bigquery
Methods in com.google.cloud.bigquery that return QueryParameterValueModifier and TypeMethodDescriptionstatic <T> QueryParameterValueQueryParameterValue.array(T[] array, StandardSQLTypeName type) Creates aQueryParameterValueobject with a type of ARRAY the given array element type.static <T> QueryParameterValueCreates aQueryParameterValueobject with a type of ARRAY, and an array element type based on the given class.static QueryParameterValueQueryParameterValue.bigNumeric(BigDecimal value) Creates aQueryParameterValueobject with a type of BIGNUMERIC.static QueryParameterValueCreates aQueryParameterValueobject with a type of BOOL.abstract QueryParameterValueQueryParameterValue.Builder.build()Creates aQueryParameterValueobject.static QueryParameterValueQueryParameterValue.bytes(byte[] value) Creates aQueryParameterValueobject with a type of BYTES.static QueryParameterValueCreates aQueryParameterValueobject with a type of DATE.static QueryParameterValueCreates aQueryParameterValueobject with a type of DATETIME.static QueryParameterValueCreates aQueryParameterValueobject with a type of FLOAT64.static QueryParameterValueCreates aQueryParameterValueobject with a type of FLOAT64.static QueryParameterValueCreates aQueryParameterValueobject with a type of GEOGRAPHY.abstract QueryParameterValueParameter.getValue()Returns the value for a query parameter along with its type.static QueryParameterValueCreates aQueryParameterValueobject with a type of INT64.static QueryParameterValueCreates aQueryParameterValueobject with a type of INT64.static QueryParameterValueCreates aQueryParameterValueobject with a type of INTERVAL.static QueryParameterValueQueryParameterValue.interval(org.threeten.extra.PeriodDuration value) Creates aQueryParameterValueobject with a type of INTERVAL.static QueryParameterValueQueryParameterValue.json(com.google.gson.JsonObject value) Creates aQueryParameterValueobject with a type of JSON.static QueryParameterValueCreates aQueryParameterValueobject with a type of JSON.static QueryParameterValueQueryParameterValue.numeric(BigDecimal value) Creates aQueryParameterValueobject with a type of NUMERIC.static <T> QueryParameterValueQueryParameterValue.of(T value, StandardSQLTypeName type) Creates aQueryParameterValueobject with the given value and type.static <T> QueryParameterValueCreates aQueryParameterValueobject with the given value and type.static QueryParameterValueCreates aQueryParameterValueobject with a type of RANGE.static QueryParameterValueCreates aQueryParameterValueobject with a type of STRING.static QueryParameterValueQueryParameterValue.struct(Map<String, QueryParameterValue> struct) Creates a map withQueryParameterValueobject and a type of STRUCT the given struct element type.static QueryParameterValueCreates aQueryParameterValueobject with a type of TIME.static QueryParameterValueCreates aQueryParameterValueobject with a type of TIMESTAMP.static QueryParameterValueCreates aQueryParameterValueobject with a type of TIMESTAMP.Methods in com.google.cloud.bigquery that return types with arguments of type QueryParameterValueModifier and TypeMethodDescriptionQueryParameterValue.getArrayValues()Returns the array values of this parameter.QueryJobConfiguration.getNamedParameters()Returns the named query parameters to use for the query.QueryJobConfiguration.getPositionalParameters()Returns the positional query parameters to use for the query.QueryParameterValue.getStructTypes()Returns the data type of the struct elements.QueryParameterValue.getStructValues()Returns the struct values of this parameter.Methods in com.google.cloud.bigquery with parameters of type QueryParameterValueModifier and TypeMethodDescriptionQueryJobConfiguration.Builder.addNamedParameter(String name, QueryParameterValue value) Adds a named query parameter to the set of query parameters.QueryJobConfiguration.Builder.addPositionalParameter(QueryParameterValue value) Adds a positional query parameter to the list of query parameters.abstract Parameter.BuilderParameter.Builder.setValue(QueryParameterValue parameter) Sets the the value for a query parameter along with its type.Method parameters in com.google.cloud.bigquery with type arguments of type QueryParameterValueModifier and TypeMethodDescriptionQueryParameterValue.Builder.setArrayValues(List<QueryParameterValue> arrayValues) Sets array values.QueryJobConfiguration.Builder.setNamedParameters(Map<String, QueryParameterValue> values) Sets the query parameters to a set of named query parameters to use in the query.QueryJobConfiguration.Builder.setPositionalParameters(Iterable<QueryParameterValue> values) Sets the query parameters to a list of positional query parameters to use in the query.QueryParameterValue.Builder.setStructTypes(Map<String, QueryParameterValue> structTypes) Sets the data type of the struct elements.QueryParameterValue.Builder.setStructValues(Map<String, QueryParameterValue> structValues) Sets struct values.static QueryParameterValueQueryParameterValue.struct(Map<String, QueryParameterValue> struct) Creates a map withQueryParameterValueobject and a type of STRUCT the given struct element type.