public static enum Bytes.Mode extends Enum<Bytes.Mode>
Writer
s store mode. The writer will either store the
bytes sequentially (STRAIGHT
, dereferenced (DEREF
) or
sorted (SORTED
)Enum Constant and Description |
---|
DEREF
Mode for dereferenced stored bytes
|
SORTED
Mode for sorted stored bytes
|
STRAIGHT
Mode for sequentially stored bytes
|
Modifier and Type | Method and Description |
---|---|
static Bytes.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bytes.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bytes.Mode STRAIGHT
public static final Bytes.Mode DEREF
public static final Bytes.Mode SORTED
public static Bytes.Mode[] values()
for (Bytes.Mode c : Bytes.Mode.values()) System.out.println(c);
public static Bytes.Mode 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 nullCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.