Package | Description |
---|---|
com.google.cloud.bigquery |
A client for BigQuery – A fully managed, petabyte scale, low cost enterprise data warehouse for
analytics.
|
Modifier and Type | Method and Description |
---|---|
static <T> QueryParameterValue |
QueryParameterValue.array(T[] array,
Class<T> clazz)
Creates a
QueryParameterValue object with a type of ARRAY, and an array element type
based on the given class. |
static <T> QueryParameterValue |
QueryParameterValue.array(T[] array,
StandardSQLTypeName type)
Creates a
QueryParameterValue object with a type of ARRAY the given array element type. |
static QueryParameterValue |
QueryParameterValue.bool(Boolean value)
Creates a
QueryParameterValue object with a type of BOOL. |
abstract QueryParameterValue |
QueryParameterValue.Builder.build()
Creates a
QueryParameterValue object. |
static QueryParameterValue |
QueryParameterValue.bytes(byte[] value)
Creates a
QueryParameterValue object with a type of BYTES. |
static QueryParameterValue |
QueryParameterValue.date(String value)
Creates a
QueryParameterValue object with a type of DATE. |
static QueryParameterValue |
QueryParameterValue.dateTime(String value)
Creates a
QueryParameterValue object with a type of DATETIME. |
static QueryParameterValue |
QueryParameterValue.float64(Double value)
Creates a
QueryParameterValue object with a type of FLOAT64. |
static QueryParameterValue |
QueryParameterValue.float64(Float value)
Creates a
QueryParameterValue object with a type of FLOAT64. |
static QueryParameterValue |
QueryParameterValue.int64(Integer value)
Creates a
QueryParameterValue object with a type of INT64. |
static QueryParameterValue |
QueryParameterValue.int64(Long value)
Creates a
QueryParameterValue object with a type of INT64. |
static QueryParameterValue |
QueryParameterValue.numeric(BigDecimal value)
Creates a
QueryParameterValue object with a type of NUMERIC. |
static <T> QueryParameterValue |
QueryParameterValue.of(T value,
Class<T> type)
Creates a
QueryParameterValue object with the given value and type. |
static <T> QueryParameterValue |
QueryParameterValue.of(T value,
StandardSQLTypeName type)
Creates a
QueryParameterValue object with the given value and type. |
static QueryParameterValue |
QueryParameterValue.string(String value)
Creates a
QueryParameterValue object with a type of STRING. |
static QueryParameterValue |
QueryParameterValue.time(String value)
Creates a
QueryParameterValue object with a type of TIME. |
static QueryParameterValue |
QueryParameterValue.timestamp(Long value)
Creates a
QueryParameterValue object with a type of TIMESTAMP. |
static QueryParameterValue |
QueryParameterValue.timestamp(String value)
Creates a
QueryParameterValue object with a type of TIMESTAMP. |
Modifier and Type | Method and Description |
---|---|
List<QueryParameterValue> |
QueryParameterValue.getArrayValues()
Returns the array values of this parameter.
|
Map<String,QueryParameterValue> |
QueryJobConfiguration.getNamedParameters()
Returns the named query parameters to use for the query.
|
List<QueryParameterValue> |
QueryJobConfiguration.getPositionalParameters()
Returns the positional query parameters to use for the query.
|
Modifier and Type | Method and Description |
---|---|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.addNamedParameter(String name,
QueryParameterValue value)
Adds a named query parameter to the set of query parameters.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.addPositionalParameter(QueryParameterValue value)
Adds a positional query parameter to the list of query parameters.
|
Modifier and Type | Method and Description |
---|---|
QueryParameterValue.Builder |
QueryParameterValue.Builder.setArrayValues(List<QueryParameterValue> arrayValues)
Sets array values.
|
QueryJobConfiguration.Builder |
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 |
QueryJobConfiguration.Builder.setPositionalParameters(Iterable<QueryParameterValue> values)
Sets the query parameters to a list of positional query parameters to use in the query.
|
Copyright © 2019 Google LLC. All rights reserved.