db4o 7.4

com.db4o.config
Class QueryEvaluationMode

java.lang.Object
  extended by com.db4o.config.QueryEvaluationMode

public class QueryEvaluationMode
extends java.lang.Object

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

IMMEDIATE

public static final QueryEvaluationMode IMMEDIATE
Constant for immediate query evaluation. The query is executed fully when Query#execute() is called.

For detailed documentation please see QueryConfiguration.evaluationMode(QueryEvaluationMode)


SNAPSHOT

public static final QueryEvaluationMode SNAPSHOT
Constant for snapshot query evaluation. When 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.

For detailed documentation please see QueryConfiguration.evaluationMode(QueryEvaluationMode)


LAZY

public static final QueryEvaluationMode LAZY
Constant for lazy query evaluation. When 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.

For detailed documentation please see QueryConfiguration.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:
toString in class java.lang.Object

db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.