public enum WriteType extends Enum<WriteType>
| Enum Constant and Description |
|---|
OLAP_COMMON |
OLAP_RANGE |
OLAP_SECONDARY |
OLTP |
| Modifier and Type | Method and Description |
|---|---|
byte |
code() |
boolean |
olap() |
boolean |
oltp() |
String |
string() |
static WriteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteType OLTP
public static final WriteType OLAP_COMMON
public static final WriteType OLAP_SECONDARY
public static final WriteType OLAP_RANGE
public static WriteType[] values()
for (WriteType c : WriteType.values()) System.out.println(c);
public static WriteType 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 code()
public String string()
public boolean oltp()
public boolean olap()
Copyright © 2023 The Apache Software Foundation. All rights reserved.