public static enum Type.Code extends Enum<Type.Code>
Enum Constant and Description |
---|
ARRAY |
BOOL |
BYTES |
DATE |
FLOAT64 |
INT64 |
JSON |
NUMERIC |
PG_NUMERIC |
STRING |
STRUCT |
TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Type.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type.Code BOOL
public static final Type.Code INT64
public static final Type.Code NUMERIC
public static final Type.Code PG_NUMERIC
public static final Type.Code FLOAT64
public static final Type.Code STRING
public static final Type.Code JSON
public static final Type.Code BYTES
public static final Type.Code TIMESTAMP
public static final Type.Code DATE
public static final Type.Code ARRAY
public static final Type.Code STRUCT
public static Type.Code[] values()
for (Type.Code c : Type.Code.values()) System.out.println(c);
public static Type.Code 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 © 2022 Google LLC. All rights reserved.