public static enum IndexConsistencyChecker.Level extends Enum<IndexConsistencyChecker.Level>
Enum Constant and Description |
---|
BLOBS_ONLY
Consistency check would only check if all blobs referred by index nodes
are present in BlobStore
|
FULL
Performs full check via
org.apache.lucene.index.CheckIndex . |
Modifier and Type | Method and Description |
---|---|
static IndexConsistencyChecker.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexConsistencyChecker.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexConsistencyChecker.Level BLOBS_ONLY
public static final IndexConsistencyChecker.Level FULL
org.apache.lucene.index.CheckIndex
. This
reads whole index and hence can take timepublic static IndexConsistencyChecker.Level[] values()
for (IndexConsistencyChecker.Level c : IndexConsistencyChecker.Level.values()) System.out.println(c);
public static IndexConsistencyChecker.Level 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 © 2012–2017 The Apache Software Foundation. All rights reserved.