public enum XdrDataType extends Enum<XdrDataType>
| Enum Constant and Description |
|---|
BOOLEAN |
BYTES |
ENUM |
INTEGER |
OPAQUE |
STRING |
STRUCT |
UNION |
UNKNOWN |
UNSIGNED_INTEGER |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static XdrDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XdrDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XdrDataType UNKNOWN
public static final XdrDataType BOOLEAN
public static final XdrDataType INTEGER
public static final XdrDataType BYTES
public static final XdrDataType STRING
public static final XdrDataType ENUM
public static final XdrDataType OPAQUE
public static final XdrDataType UNSIGNED_INTEGER
public static final XdrDataType STRUCT
public static final XdrDataType UNION
public static XdrDataType[] values()
for (XdrDataType c : XdrDataType.values()) System.out.println(c);
public static XdrDataType 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 getValue()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.