public static enum BatchData.BatchDataType extends Enum<BatchData.BatchDataType>
| Enum Constant and Description |
|---|
DescRead |
DescReadWrite |
Ordinary |
| Modifier and Type | Method and Description |
|---|---|
static BatchData |
deserialize(byte type,
TSDataType dataType)
give an integer to return a BatchType type.
|
static BatchData.BatchDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchData.BatchDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchData.BatchDataType Ordinary
public static final BatchData.BatchDataType DescRead
public static final BatchData.BatchDataType DescReadWrite
public static BatchData.BatchDataType[] values()
for (BatchData.BatchDataType c : BatchData.BatchDataType.values()) System.out.println(c);
public static BatchData.BatchDataType 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 static BatchData deserialize(byte type, TSDataType dataType)
type - -param to judge enum typeCopyright © 2022 The Apache Software Foundation. All rights reserved.