public static enum DataEntry.Type extends Enum<DataEntry.Type>
Enum Constant and Description |
---|
BOOL |
BYTEARR |
DATE |
DOUBLE |
ENTRY_ITER
An array like json object
|
FLOAT |
INT |
JAVA_OBJ
don't know how to stream it.
|
KEYVAL_ITER
A map like json object
|
LONG |
NULL |
STR |
Modifier and Type | Field and Description |
---|---|
boolean |
isContainer |
boolean |
isPrimitive
A primitive type which usually maps to a java primitive
|
Modifier and Type | Method and Description |
---|---|
static DataEntry.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataEntry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataEntry.Type NULL
public static final DataEntry.Type LONG
public static final DataEntry.Type INT
public static final DataEntry.Type BOOL
public static final DataEntry.Type FLOAT
public static final DataEntry.Type DOUBLE
public static final DataEntry.Type DATE
public static final DataEntry.Type KEYVAL_ITER
public static final DataEntry.Type ENTRY_ITER
public static final DataEntry.Type STR
public static final DataEntry.Type BYTEARR
public static final DataEntry.Type JAVA_OBJ
DataEntry.val()
} methodpublic final boolean isPrimitive
public final boolean isContainer
public static DataEntry.Type[] values()
for (DataEntry.Type c : DataEntry.Type.values()) System.out.println(c);
public static DataEntry.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 nullCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.