static enum TableSplit.Version extends Enum<TableSplit.Version>
Enum Constant and Description |
---|
INITIAL |
UNVERSIONED |
WITH_ENCODED_REGION_NAME |
Modifier and Type | Field and Description |
---|---|
(package private) static TableSplit.Version[] |
byCode |
(package private) int |
code |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
atLeast(TableSplit.Version other) |
(package private) static TableSplit.Version |
fromCode(int code) |
static TableSplit.Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableSplit.Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableSplit.Version UNVERSIONED
public static final TableSplit.Version INITIAL
public static final TableSplit.Version WITH_ENCODED_REGION_NAME
final int code
static final TableSplit.Version[] byCode
public static TableSplit.Version[] values()
for (TableSplit.Version c : TableSplit.Version.values()) System.out.println(c);
public static TableSplit.Version 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 nullboolean atLeast(TableSplit.Version other)
static TableSplit.Version fromCode(int code)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.