public static enum Lucene87Codec.Mode extends Enum<Lucene87Codec.Mode>
Enum Constant and Description |
---|
BEST_COMPRESSION
Trade retrieval speed for compression ratio.
|
BEST_SPEED
Trade compression ratio for retrieval speed.
|
Modifier and Type | Method and Description |
---|---|
static Lucene87Codec.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Lucene87Codec.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Lucene87Codec.Mode BEST_SPEED
public static final Lucene87Codec.Mode BEST_COMPRESSION
public static Lucene87Codec.Mode[] values()
for (Lucene87Codec.Mode c : Lucene87Codec.Mode.values()) System.out.println(c);
public static Lucene87Codec.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-2021 Apache Software Foundation. All Rights Reserved.