public static enum Value.Type extends Enum<Value.Type>
Enum Constant and Description |
---|
BLOB |
DOUBLE |
INT64 |
STRING |
TIMESTAMP |
UNINITIALIZED |
Modifier and Type | Field and Description |
---|---|
protected int |
value |
Modifier and Type | Method and Description |
---|---|
int |
asInt() |
static Value.Type |
fromInt(int type) |
static Value.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Value.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Value.Type UNINITIALIZED
public static final Value.Type DOUBLE
public static final Value.Type BLOB
public static final Value.Type STRING
public static final Value.Type INT64
public static final Value.Type TIMESTAMP
public static Value.Type[] values()
for (Value.Type c : Value.Type.values()) System.out.println(c);
public static Value.Type 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 int asInt()
public static Value.Type fromInt(int type)
Copyright © 2021. All rights reserved.