public abstract static class StandardSQLDataType.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract StandardSQLDataType |
build()
Creates a
StandardSQLDataType object. |
abstract StandardSQLDataType.Builder |
setArrayElementType(StandardSQLDataType arrayElementType)
Sets the type of an array's elements, when the TypeKind is ARRAY.
|
abstract StandardSQLDataType.Builder |
setStructType(StandardSQLStructType structType)
Sets the struct type definition (list of fields) when the TypeKind is STRUCT.
|
abstract StandardSQLDataType.Builder |
setTypeKind(String typeKind)
Sets the top-level type of this data type.
|
public abstract StandardSQLDataType.Builder setArrayElementType(StandardSQLDataType arrayElementType)
public abstract StandardSQLDataType.Builder setStructType(StandardSQLStructType structType)
public abstract StandardSQLDataType.Builder setTypeKind(String typeKind)
public abstract StandardSQLDataType build()
StandardSQLDataType
object.Copyright © 2019 Google LLC. All rights reserved.