Package com.google.cloud.bigquery
Class StandardSQLDataType
java.lang.Object
com.google.cloud.bigquery.StandardSQLDataType
- All Implemented Interfaces:
Serializable
Represents Standard SQL data type information.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StandardSQLDataTypeReturns the type of an ARRAY's elements.abstract StandardSQLStructTypeReturns the struct definition's list of fields for a STRUCT type.abstract StringReturns the type kind of the data type.static StandardSQLDataType.Builderstatic StandardSQLDataType.BuildernewBuilder(StandardSQLTypeName typeName) Returns a new builder initialized with a StandardSQLTypeName as the type kind.static StandardSQLDataType.BuildernewBuilder(String typeKind) Returns a new builder initialized with the type kind.abstract StandardSQLDataType.Builder
-
Constructor Details
-
StandardSQLDataType
public StandardSQLDataType()
-
-
Method Details
-
getTypeKind
Returns the type kind of the data type.Can be any standard SQL data type. For more information, see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types
-
getArrayElementType
Returns the type of an ARRAY's elements. -
getStructType
Returns the struct definition's list of fields for a STRUCT type. -
toBuilder
-
newBuilder
-
newBuilder
Returns a new builder initialized with the type kind. -
newBuilder
Returns a new builder initialized with a StandardSQLTypeName as the type kind.
-