public final class LegacySQLTypeName
extends com.google.cloud.StringEnumValue
Modifier and Type | Field and Description |
---|---|
static LegacySQLTypeName |
BOOLEAN
A Boolean value (true or false).
|
static LegacySQLTypeName |
BYTES
Variable-length binary data.
|
static LegacySQLTypeName |
DATE
Represents a logical calendar date.
|
static LegacySQLTypeName |
DATETIME
Represents a year, month, day, hour, minute, second, and subsecond (microsecond precision).
|
static LegacySQLTypeName |
FLOAT
A 64-bit IEEE binary floating-point value.
|
static LegacySQLTypeName |
GEOGRAPHY
Represents a set of geographic points, represented as a Well Known Text (WKT) string.
|
static LegacySQLTypeName |
INTEGER
A 64-bit signed integer value.
|
static LegacySQLTypeName |
NUMERIC
A decimal value with 38 digits of precision and 9 digits of scale.
|
static LegacySQLTypeName |
RECORD
A record type with a nested schema.
|
static LegacySQLTypeName |
STRING
Variable-length character (Unicode) data.
|
static LegacySQLTypeName |
TIME
Represents a time, independent of a specific date, to microsecond precision.
|
static LegacySQLTypeName |
TIMESTAMP
Represents an absolute point in time, with microsecond precision.
|
Modifier and Type | Method and Description |
---|---|
StandardSQLTypeName |
getStandardType()
Provides the standard SQL type name equivalent to this type name.
|
static LegacySQLTypeName |
legacySQLTypeName(StandardSQLTypeName type)
Converts StandardSQLTypeName to LegacySQLTypeName
|
static LegacySQLTypeName |
valueOf(String constant)
Get the LegacySQLTypeName for the given String constant, and allow unrecognized values.
|
static LegacySQLTypeName |
valueOfStrict(String constant)
Get the LegacySQLTypeName for the given String constant, and throw an exception if the constant
is not recognized.
|
static LegacySQLTypeName[] |
values()
Return the known values for LegacySQLTypeName.
|
public static final LegacySQLTypeName BYTES
public static final LegacySQLTypeName STRING
public static final LegacySQLTypeName INTEGER
public static final LegacySQLTypeName FLOAT
public static final LegacySQLTypeName NUMERIC
public static final LegacySQLTypeName BOOLEAN
public static final LegacySQLTypeName TIMESTAMP
public static final LegacySQLTypeName DATE
public static final LegacySQLTypeName GEOGRAPHY
public static final LegacySQLTypeName TIME
public static final LegacySQLTypeName DATETIME
public static final LegacySQLTypeName RECORD
public StandardSQLTypeName getStandardType()
public static LegacySQLTypeName legacySQLTypeName(StandardSQLTypeName type)
public static LegacySQLTypeName valueOfStrict(String constant)
public static LegacySQLTypeName valueOf(String constant)
public static LegacySQLTypeName[] values()
Copyright © 2019 Google LLC. All rights reserved.