Package com.db4o.config
Class QueryEvaluationMode
- java.lang.Object
-
- com.db4o.config.QueryEvaluationMode
-
public class QueryEvaluationMode extends java.lang.ObjectThis class provides static constants for the query evaluation modes that db4o supports.
For detailed documentation please seeQueryConfiguration.evaluationMode(QueryEvaluationMode)
-
-
Field Summary
Fields Modifier and Type Field Description static QueryEvaluationModeIMMEDIATEConstant for immediate query evaluation.static QueryEvaluationModeLAZYConstant for lazy query evaluation.static QueryEvaluationModeSNAPSHOTConstant for snapshot query evaluation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intasInt()internal method, ignore please.static QueryEvaluationModefromInt(int i)internal method, ignore please.java.lang.StringtoString()
-
-
-
Field Detail
-
IMMEDIATE
public static final QueryEvaluationMode IMMEDIATE
Constant for immediate query evaluation. The query is executed fully whenQuery.execute()is called.
For detailed documentation please seeQueryConfiguration.evaluationMode(QueryEvaluationMode)
-
SNAPSHOT
public static final QueryEvaluationMode SNAPSHOT
Constant for snapshot query evaluation. WhenQuery.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 theObjectSetresultset of the query.
For detailed documentation please seeQueryConfiguration.evaluationMode(QueryEvaluationMode)
-
LAZY
public static final QueryEvaluationMode LAZY
Constant for lazy query evaluation. WhenQuery.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 theObjectSetresultset of the query.
For detailed documentation please seeQueryConfiguration.evaluationMode(QueryEvaluationMode)
-
-
Method Detail
-
asInt
public int asInt()
internal method, ignore please.
-
fromInt
public static QueryEvaluationMode fromInt(int i)
internal method, ignore please.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-