public enum FieldFlag extends Enum<FieldFlag>
Enum Constant and Description |
---|
BINARY |
DOC_VALUES |
INDEXED |
LAZY |
MULTI_VALUED |
OMIT_NORMS |
OMIT_POSITIONS |
OMIT_TF |
SORT_MISSING_FIRST |
SORT_MISSING_LAST |
STORE_OFFSETS_WITH_POSITIONS |
STORED |
TERM_VECTOR_OFFSET |
TERM_VECTOR_PAYLOADS |
TERM_VECTOR_POSITION |
TERM_VECTOR_STORED |
TOKENIZED |
Modifier and Type | Method and Description |
---|---|
char |
getAbbreviation() |
String |
getDisplay() |
static FieldFlag |
getFlag(char abbrev) |
static FieldFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldFlag INDEXED
public static final FieldFlag TOKENIZED
public static final FieldFlag STORED
public static final FieldFlag DOC_VALUES
public static final FieldFlag MULTI_VALUED
public static final FieldFlag TERM_VECTOR_STORED
public static final FieldFlag TERM_VECTOR_OFFSET
public static final FieldFlag TERM_VECTOR_POSITION
public static final FieldFlag TERM_VECTOR_PAYLOADS
public static final FieldFlag OMIT_NORMS
public static final FieldFlag OMIT_TF
public static final FieldFlag OMIT_POSITIONS
public static final FieldFlag STORE_OFFSETS_WITH_POSITIONS
public static final FieldFlag LAZY
public static final FieldFlag BINARY
public static final FieldFlag SORT_MISSING_FIRST
public static final FieldFlag SORT_MISSING_LAST
public static FieldFlag[] values()
for (FieldFlag c : FieldFlag.values()) System.out.println(c);
public static FieldFlag 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 FieldFlag getFlag(char abbrev)
public char getAbbreviation()
public String getDisplay()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.