public enum LegacySQLTypeName extends Enum<LegacySQLTypeName>
Enum Constant and Description |
---|
BOOLEAN
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).
|
FLOAT
A 64-bit IEEE binary floating-point value.
|
INTEGER
A 64-bit signed integer value.
|
RECORD
A record type with a nested schema.
|
STRING
Variable-length character (Unicode) data.
|
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 |
---|---|
StandardSQLTypeName |
getStandardType()
Provides the standard SQL type name equivalent to this type name.
|
static LegacySQLTypeName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LegacySQLTypeName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LegacySQLTypeName BYTES
public static final LegacySQLTypeName STRING
public static final LegacySQLTypeName INTEGER
public static final LegacySQLTypeName FLOAT
public static final LegacySQLTypeName BOOLEAN
public static final LegacySQLTypeName TIMESTAMP
public static final LegacySQLTypeName DATE
public static final LegacySQLTypeName TIME
public static final LegacySQLTypeName DATETIME
public static final LegacySQLTypeName RECORD
public static LegacySQLTypeName[] values()
for (LegacySQLTypeName c : LegacySQLTypeName.values()) System.out.println(c);
public static LegacySQLTypeName 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 nullpublic StandardSQLTypeName getStandardType()
Copyright © 2017 Google. All rights reserved.