public abstract class StandardSQLDataType extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
StandardSQLDataType.Builder |
Constructor and Description |
---|
StandardSQLDataType() |
Modifier and Type | Method and Description |
---|---|
abstract StandardSQLDataType |
getArrayElementType()
Returns the type of an ARRAY's elements.
|
abstract StandardSQLStructType |
getStructType()
Returns the struct definition's list of fields for a STRUCT type.
|
abstract String |
getTypeKind()
Returns the type kind of the data type.
|
static StandardSQLDataType.Builder |
newBuilder() |
static StandardSQLDataType.Builder |
newBuilder(StandardSQLTypeName typeName)
Returns a new builder initialized with a StandardSQLTypeName as the type kind.
|
static StandardSQLDataType.Builder |
newBuilder(String typeKind)
Returns a new builder initialized with the type kind.
|
abstract StandardSQLDataType.Builder |
toBuilder() |
public abstract String getTypeKind()
Can be any standard SQL data type. For more information, see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types
@Nullable public abstract StandardSQLDataType getArrayElementType()
@Nullable public abstract StandardSQLStructType getStructType()
public abstract StandardSQLDataType.Builder toBuilder()
public static StandardSQLDataType.Builder newBuilder()
public static StandardSQLDataType.Builder newBuilder(String typeKind)
public static StandardSQLDataType.Builder newBuilder(StandardSQLTypeName typeName)
Copyright © 2023 Google LLC. All rights reserved.