public final class StandardSqlDataType
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
StandardSqlDataType() |
Modifier and Type | Method and Description |
---|---|
StandardSqlDataType |
clone() |
StandardSqlDataType |
getArrayElementType()
The type of the array's elements, if type_kind = "ARRAY".
|
StandardSqlStructType |
getStructType()
The fields of this struct, in order, if type_kind = "STRUCT".
|
java.lang.String |
getTypeKind()
Required.
|
StandardSqlDataType |
set(java.lang.String fieldName,
java.lang.Object value) |
StandardSqlDataType |
setArrayElementType(StandardSqlDataType arrayElementType)
The type of the array's elements, if type_kind = "ARRAY".
|
StandardSqlDataType |
setStructType(StandardSqlStructType structType)
The fields of this struct, in order, if type_kind = "STRUCT".
|
StandardSqlDataType |
setTypeKind(java.lang.String typeKind)
Required.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public StandardSqlDataType getArrayElementType()
null
for nonepublic StandardSqlDataType setArrayElementType(StandardSqlDataType arrayElementType)
arrayElementType
- arrayElementType or null
for nonepublic StandardSqlStructType getStructType()
null
for nonepublic StandardSqlDataType setStructType(StandardSqlStructType structType)
structType
- structType or null
for nonepublic java.lang.String getTypeKind()
null
for nonepublic StandardSqlDataType setTypeKind(java.lang.String typeKind)
typeKind
- typeKind or null
for nonepublic StandardSqlDataType set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public StandardSqlDataType clone()
clone
in class com.google.api.client.json.GenericJson