public enum OperationType extends Enum<OperationType>
Represents an index operation type.
Enum Constant and Description |
---|
Deleting
Deleting paths from an index.
|
Indexing
Adding documents to an index.
|
Merging
Merging indexes.
|
Optimizing
Optimizing an index.
|
Updating
Updating documents in an index.
|
Modifier and Type | Method and Description |
---|---|
static OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationType Indexing
Adding documents to an index.
public static final OperationType Updating
Updating documents in an index.
public static final OperationType Merging
Merging indexes.
public static final OperationType Optimizing
Optimizing an index.
public static final OperationType Deleting
Deleting paths from an index.
public static OperationType[] values()
for (OperationType c : OperationType.values()) System.out.println(c);
public static OperationType 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 null