|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QueryEngine.BackgroundIndexingPolicy>
com.neeve.query.QueryEngine.BackgroundIndexingPolicy
public static enum QueryEngine.BackgroundIndexingPolicy
Enumerates valid background indexing policies. The background indexing policy dictates whether or not queries wait for indexing to complete before performing a query. In some cases it can be faster to proceed with a table scan to find a sufficient number of results rather than waiting for indexes to be populated.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 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
Method Detail |
---|
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 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 |