public static enum CompletionPostingsFormat.FSTLoadMode extends Enum<CompletionPostingsFormat.FSTLoadMode>
Enum Constant and Description |
---|
AUTO
Automatically make the decision if FSTs are read from disk depending if the segment read from an MMAPDirectory
|
OFF_HEAP
Always read FSTs from disk.
|
ON_HEAP
Never read FSTs from disk ie.
|
Modifier and Type | Method and Description |
---|---|
static CompletionPostingsFormat.FSTLoadMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompletionPostingsFormat.FSTLoadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompletionPostingsFormat.FSTLoadMode OFF_HEAP
public static final CompletionPostingsFormat.FSTLoadMode ON_HEAP
public static final CompletionPostingsFormat.FSTLoadMode AUTO
public static CompletionPostingsFormat.FSTLoadMode[] values()
for (CompletionPostingsFormat.FSTLoadMode c : CompletionPostingsFormat.FSTLoadMode.values()) System.out.println(c);
public static CompletionPostingsFormat.FSTLoadMode 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.