|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.db4o.config.QueryEvaluationMode
public class QueryEvaluationMode
This class provides static constants for the query evaluation
modes that db4o supports.
For detailed documentation please see
QueryConfiguration.evaluationMode(QueryEvaluationMode)
Field Summary | |
---|---|
static QueryEvaluationMode |
IMMEDIATE
Constant for immediate query evaluation. |
static QueryEvaluationMode |
LAZY
Constant for lazy query evaluation. |
static QueryEvaluationMode |
SNAPSHOT
Constant for snapshot query evaluation. |
Method Summary | |
---|---|
int |
asInt()
internal method, ignore please. |
static QueryEvaluationMode |
fromInt(int i)
internal method, ignore please. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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)
Method Detail |
---|
public int asInt()
public static QueryEvaluationMode fromInt(int i)
public java.lang.String toString()
toString
in class java.lang.Object
|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |