|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mobixess.jodb.core.query.QueryNode
public class QueryNode
Constructor Summary | |
---|---|
QueryNode(java.lang.Object pattern,
java.util.Collection defaultIgnoreValues,
JODBSession session,
QueryNode masterNode)
|
|
QueryNode(java.lang.String name,
JODBSession session,
QueryNode masterNode)
|
Method Summary | |
---|---|
Constraint |
constrain(java.lang.Object constraint)
adds a constraint to this node. |
Constraints |
constraints()
returns a Constraints
object that holds an array of all constraints on this node. |
Query |
descend(java.lang.String fieldName)
returns a reference to a descendant node in the query graph. |
ObjectSet |
execute()
executes the Query . |
com.mobixess.jodb.core.query.QueryNode.CONSTRAINT_EVALUATION_STATUS |
getCumulativeStatus()
|
int |
getNextMasterNodeSortCounter()
|
void |
initSortDataCache(SortDataCache sortDataCache,
java.lang.StringBuffer path)
|
void |
markAsUnreachable()
|
Query |
orderAscending()
adds an ascending ordering criteria to this node of the query graph. |
Query |
orderDescending()
adds a descending order criteria to this node of the query graph. |
void |
refillSortData(long objectID,
SortDataCache sortDataCache,
JODBOperationContext context)
|
void |
resetStateOfConstraints()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryNode(java.lang.String name, JODBSession session, QueryNode masterNode)
public QueryNode(java.lang.Object pattern, java.util.Collection defaultIgnoreValues, JODBSession session, QueryNode masterNode)
Method Detail |
---|
public Constraint constrain(java.lang.Object constraint)
Query
Class
: confine the result to objects of one
class (if the Class
object represents a class)
or to objects implementing a specific interface
(if the Class
object represents an interface).Evaluation
: run
evaluation callbacks against all candidates.
constrain
in interface Query
constraint
- the constraint to be added to this Query.
Constraint
a new Constraint
for this
query node or null
for objects implementing the
Evaluation
interface.public Constraints constraints()
Query
Constraints
object that holds an array of all constraints on this node.
constraints
in interface Query
Constraints
on this query node.public Query descend(java.lang.String fieldName)
Query
descend
in interface Query
Query
nodepublic int getNextMasterNodeSortCounter()
public ObjectSet execute() throws java.io.IOException, IllegalClassTypeException
Query
Query
.
execute
in interface Query
ObjectSet
- the result of the Query
.
java.io.IOException
IllegalClassTypeException
public com.mobixess.jodb.core.query.QueryNode.CONSTRAINT_EVALUATION_STATUS getCumulativeStatus()
public void markAsUnreachable()
public Query orderAscending()
Query
orderAscending
in interface Query
Query
object to allow the chaining of method calls.public Query orderDescending()
Query
orderDescending
in interface Query
Query
object to allow the chaining of method calls.public void resetStateOfConstraints()
public void refillSortData(long objectID, SortDataCache sortDataCache, JODBOperationContext context) throws java.io.IOException
java.io.IOException
public void initSortDataCache(SortDataCache sortDataCache, java.lang.StringBuffer path)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |