public static enum QueryEngine.BackgroundIndexingPolicy extends Enum<QueryEngine.BackgroundIndexingPolicy>
Enum Constant and Description |
---|
FLUSH_NEVER
This policy indicates that if an index is not
fully built, it will be ignored when executing
queries.
|
FLUSH_ON_CREATE
This policy dictates that indexes must be fully
built at creation time.
|
FLUSH_ON_QUERY
This policy dictates that all indexes be fully
built prior to executing any query.
|
FLUSH_ON_USE
This policy dictates that an index be flushed
prior to its use.
|
Modifier and Type | Method and Description |
---|---|
static QueryEngine.BackgroundIndexingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryEngine.BackgroundIndexingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryEngine.BackgroundIndexingPolicy FLUSH_ON_CREATE
public static final QueryEngine.BackgroundIndexingPolicy FLUSH_ON_QUERY
public static final QueryEngine.BackgroundIndexingPolicy FLUSH_ON_USE
public static final QueryEngine.BackgroundIndexingPolicy FLUSH_NEVER
public static QueryEngine.BackgroundIndexingPolicy[] values()
for (QueryEngine.BackgroundIndexingPolicy c : QueryEngine.BackgroundIndexingPolicy.values()) System.out.println(c);
public static QueryEngine.BackgroundIndexingPolicy 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 © 2019 Neeve Research, LLC. All Rights Reserved.