|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MergePolicy.MergeTrigger>
org.apache.lucene.index.MergePolicy.MergeTrigger
public static enum MergePolicy.MergeTrigger
MergeTrigger is passed to
MergePolicy.findMerges(MergeTrigger, SegmentInfos)
to indicate the
event that triggered the merge.
Enum Constant Summary | |
---|---|
EXPLICIT
Merge has been triggered explicitly by the user. |
|
FULL_FLUSH
Merge was triggered by a full flush. |
|
MERGE_FINISHED
Merge was triggered by a successfully finished merge. |
|
SEGMENT_FLUSH
Merge was triggered by a segment flush. |
Method Summary | |
---|---|
static MergePolicy.MergeTrigger |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MergePolicy.MergeTrigger[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MergePolicy.MergeTrigger SEGMENT_FLUSH
public static final MergePolicy.MergeTrigger FULL_FLUSH
public static final MergePolicy.MergeTrigger EXPLICIT
public static final MergePolicy.MergeTrigger MERGE_FINISHED
Method Detail |
---|
public static MergePolicy.MergeTrigger[] values()
for (MergePolicy.MergeTrigger c : MergePolicy.MergeTrigger.values()) System.out.println(c);
public static MergePolicy.MergeTrigger valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |