public enum TabletType extends Enum<TabletType>
Modifier and Type | Method and Description |
---|---|
static TabletType |
type(Collection<KeyExtent> extents) |
static TabletType |
type(KeyExtent ke) |
static TabletType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TabletType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TabletType ROOT
public static final TabletType METADATA
public static final TabletType USER
public static TabletType[] values()
for (TabletType c : TabletType.values()) System.out.println(c);
public static TabletType 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 TabletType type(KeyExtent ke)
public static TabletType type(Collection<KeyExtent> extents)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.