public enum Type extends Enum<Type>
Enum Constant and Description |
---|
ARRAY |
BIN1024 |
BIN128 |
BIN16 |
BIN256 |
BIN32 |
BIN40 |
BIN512 |
BIN64 |
BIN72 |
BIN8 |
BIT |
BOOLEAN |
CHAR |
CHAR_UTF32 |
DATETIME |
DEC32 |
DEC64 |
DOUBLE |
FLOAT |
INT16 |
INT32 |
INT64 |
INT8 |
LIST |
MAP |
STR16 |
STR16_LATIN |
STR16_UTF16 |
STR8 |
STR8_LATIN |
STR8_UTF16 |
STRUCT32 |
UINT16 |
UINT32 |
UINT64 |
UINT8 |
UUID |
VBIN16 |
VBIN32 |
VBIN8 |
VOID |
Modifier and Type | Method and Description |
---|---|
static Type |
get(byte code) |
byte |
getCode() |
int |
getWidth() |
boolean |
isFixed() |
static Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type BIN8
public static final Type INT8
public static final Type UINT8
public static final Type CHAR
public static final Type BOOLEAN
public static final Type BIN16
public static final Type INT16
public static final Type UINT16
public static final Type BIN32
public static final Type INT32
public static final Type UINT32
public static final Type FLOAT
public static final Type CHAR_UTF32
public static final Type BIN64
public static final Type INT64
public static final Type UINT64
public static final Type DOUBLE
public static final Type DATETIME
public static final Type BIN128
public static final Type UUID
public static final Type BIN256
public static final Type BIN512
public static final Type BIN1024
public static final Type VBIN8
public static final Type STR8_LATIN
public static final Type STR8
public static final Type STR8_UTF16
public static final Type VBIN16
public static final Type STR16_LATIN
public static final Type STR16
public static final Type STR16_UTF16
public static final Type VBIN32
public static final Type MAP
public static final Type LIST
public static final Type ARRAY
public static final Type STRUCT32
public static final Type BIN40
public static final Type DEC32
public static final Type BIN72
public static final Type DEC64
public static final Type VOID
public static final Type BIT
public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static 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 byte getCode()
public int getWidth()
public boolean isFixed()
public static Type get(byte code)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.