Module org.apache.lucene.core
Enum Lucene90CompressingStoredFieldsWriter.MergeStrategy
- java.lang.Object
-
- java.lang.Enum<Lucene90CompressingStoredFieldsWriter.MergeStrategy>
-
- org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsWriter.MergeStrategy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Lucene90CompressingStoredFieldsWriter.MergeStrategy>
- Enclosing class:
- Lucene90CompressingStoredFieldsWriter
private static enum Lucene90CompressingStoredFieldsWriter.MergeStrategy extends java.lang.Enum<Lucene90CompressingStoredFieldsWriter.MergeStrategy>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MergeStrategy()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Lucene90CompressingStoredFieldsWriter.MergeStrategy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Lucene90CompressingStoredFieldsWriter.MergeStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BULK
public static final Lucene90CompressingStoredFieldsWriter.MergeStrategy BULK
Copy chunk by chunk in a compressed format
-
DOC
public static final Lucene90CompressingStoredFieldsWriter.MergeStrategy DOC
Copy document by document in a decompressed format
-
VISITOR
public static final Lucene90CompressingStoredFieldsWriter.MergeStrategy VISITOR
Copy field by field of decompressed documents
-
-
Method Detail
-
values
public static Lucene90CompressingStoredFieldsWriter.MergeStrategy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Lucene90CompressingStoredFieldsWriter.MergeStrategy c : Lucene90CompressingStoredFieldsWriter.MergeStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Lucene90CompressingStoredFieldsWriter.MergeStrategy valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-