public enum StandardSQLTypeName extends Enum<StandardSQLTypeName>
Enum Constant and Description |
---|
ARRAY
Ordered list of zero or more elements of any non-array type.
|
BIGNUMERIC
A decimal value with 76+ digits of precision (the 77th digit is partial) and 38 digits of scale
|
BOOL
A Boolean value (true or false).
|
BYTES
Variable-length binary data.
|
DATE
Represents a logical calendar date.
|
DATETIME
Represents a year, month, day, hour, minute, second, and subsecond (microsecond precision).
|
FLOAT64
A 64-bit IEEE binary floating-point value.
|
GEOGRAPHY
Represents a set of geographic points, represented as a Well Known Text (WKT) string.
|
INT64
A 64-bit signed integer value.
|
INTERVAL
Represents duration or amount of time.
|
JSON
Represents JSON data.
|
NUMERIC
A decimal value with 38 digits of precision and 9 digits of scale.
|
STRING
Variable-length character (Unicode) data.
|
STRUCT
Container of ordered fields each with a type (required) and field name (optional).
|
TIME
Represents a time, independent of a specific date, to microsecond precision.
|
TIMESTAMP
Represents an absolute point in time, with microsecond precision.
|
Modifier and Type | Method and Description |
---|---|
static StandardSQLTypeName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardSQLTypeName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardSQLTypeName BOOL
public static final StandardSQLTypeName INT64
public static final StandardSQLTypeName FLOAT64
public static final StandardSQLTypeName NUMERIC
public static final StandardSQLTypeName BIGNUMERIC
public static final StandardSQLTypeName STRING
public static final StandardSQLTypeName BYTES
public static final StandardSQLTypeName STRUCT
public static final StandardSQLTypeName ARRAY
public static final StandardSQLTypeName TIMESTAMP
public static final StandardSQLTypeName DATE
public static final StandardSQLTypeName TIME
public static final StandardSQLTypeName DATETIME
public static final StandardSQLTypeName GEOGRAPHY
public static final StandardSQLTypeName JSON
public static final StandardSQLTypeName INTERVAL
public static StandardSQLTypeName[] values()
for (StandardSQLTypeName c : StandardSQLTypeName.values()) System.out.println(c);
public static StandardSQLTypeName valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023 Google LLC. All rights reserved.