public class QueryEvaluationMode
extends java.lang.Object
QueryConfiguration.evaluationMode(QueryEvaluationMode)| Modifier and Type | Field and Description |
|---|---|
static QueryEvaluationMode |
IMMEDIATE
Constant for immediate query evaluation.
|
static QueryEvaluationMode |
LAZY
Constant for lazy query evaluation.
|
static QueryEvaluationMode |
SNAPSHOT
Constant for snapshot query evaluation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
asInt()
internal method, ignore please.
|
static QueryEvaluationMode |
fromInt(int i)
internal method, ignore please.
|
java.lang.String |
toString() |
public static final QueryEvaluationMode IMMEDIATE
Query.execute() is called.
QueryConfiguration.evaluationMode(QueryEvaluationMode)public static final QueryEvaluationMode SNAPSHOT
Query.execute() is called,
the query processor chooses the best indexes, does all index processing
and creates a snapshot of the index at this point in time. Non-indexed
constraints are evaluated lazily when the application iterates through
the ObjectSet resultset of the query.
QueryConfiguration.evaluationMode(QueryEvaluationMode)public static final QueryEvaluationMode LAZY
Query.execute() is called, the
query processor only chooses the best index and creates an iterator on
this index. Indexes and constraints are evaluated lazily when the
application iterates through the ObjectSet resultset of the query.
QueryConfiguration.evaluationMode(QueryEvaluationMode)public int asInt()
public static QueryEvaluationMode fromInt(int i)
public java.lang.String toString()
toString in class java.lang.Object