Package com.google.cloud.bigquery
Enum StandardSQLTypeName
- All Implemented Interfaces:
Serializable
,Comparable<StandardSQLTypeName>
A type used in standard SQL contexts. For example, these types are used in queries with query
parameters, which requires usage of standard SQL.
-
Enum Constant Summary
Enum ConstantDescriptionOrdered list of zero or more elements of any non-array type.A decimal value with 76+ digits of precision (the 77th digit is partial) and 38 digits of scaleA Boolean value (true or false).Variable-length binary data.Represents a logical calendar date.Represents a year, month, day, hour, minute, second, and subsecond (microsecond precision).A 64-bit IEEE binary floating-point value.Represents a set of geographic points, represented as a Well Known Text (WKT) string.A 64-bit signed integer value.Represents duration or amount of time.Represents JSON data.A decimal value with 38 digits of precision and 9 digits of scale.Variable-length character (Unicode) data.Container of ordered fields each with a type (required) and field name (optional).Represents a time, independent of a specific date, to microsecond precision.Represents an absolute point in time, with microsecond precision. -
Method Summary
Modifier and TypeMethodDescriptionstatic StandardSQLTypeName
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.
-
Enum Constant Details
-
BOOL
A Boolean value (true or false). -
INT64
A 64-bit signed integer value. -
FLOAT64
A 64-bit IEEE binary floating-point value. -
NUMERIC
A decimal value with 38 digits of precision and 9 digits of scale. -
BIGNUMERIC
A decimal value with 76+ digits of precision (the 77th digit is partial) and 38 digits of scale -
STRING
Variable-length character (Unicode) data. -
BYTES
Variable-length binary data. -
STRUCT
Container of ordered fields each with a type (required) and field name (optional). -
ARRAY
Ordered list of zero or more elements of any non-array type. -
TIMESTAMP
Represents an absolute point in time, with microsecond precision. Values range between the years 1 and 9999, inclusive. -
DATE
Represents a logical calendar date. Values range between the years 1 and 9999, inclusive. -
TIME
Represents a time, independent of a specific date, to microsecond precision. -
DATETIME
Represents a year, month, day, hour, minute, second, and subsecond (microsecond precision). -
GEOGRAPHY
Represents a set of geographic points, represented as a Well Known Text (WKT) string. -
JSON
Represents JSON data. -
INTERVAL
Represents duration or amount of time.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-