Package com.j_spaces.jdbc.executor
Class QueryExecutor
java.lang.Object
com.j_spaces.jdbc.executor.AbstractQueryExecutor
com.j_spaces.jdbc.executor.QueryExecutor
- All Implemented Interfaces:
IQueryExecutor,Externalizable,Serializable
Executes queries against the space. The executor traverses the expression tree, and executes
queries according to the attached space templates.
- Author:
- anna
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.j_spaces.jdbc.executor.AbstractQueryExecutor
AbstractQueryExecutor.EntriesOrderByComparator -
Field Summary
Fields inherited from class com.j_spaces.jdbc.executor.AbstractQueryExecutor
_logger, query -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(ISpaceProxy space, Transaction txn, int readModifier, int max) voidexecute(AndNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) Execute And expression - execute both children and union the resultsvoidexecute(ExpNode expNode, ISpaceProxy space, Transaction txn, int readModifier, int max) voidexecute(InNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) Execute IN expression - can be a list of simple values or an inner select queryvoidexecute(NotInNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) execute NOT IN queryvoidexecute(OrNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) Execute Or expression - execute both children and union the resultsMethods inherited from class com.j_spaces.jdbc.executor.AbstractQueryExecutor
aggregate, avg, clear, convertEntriesToResultArrays, count, execute, executeTemplate, extractResults, filterDistinctEntries, getGroupByComparator, getIntermediateResults, getOrderByComparator, getQuery, groupBy, minMax, orderBy, readAll, readExternal, setResults, sum, traverseExpressionTree, writeExternal
-
Constructor Details
-
QueryExecutor
public QueryExecutor() -
QueryExecutor
-
-
Method Details
-
execute
public void execute(OrNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException Description copied from interface:IQueryExecutorExecute Or expression - execute both children and union the results- Throws:
SQLException
-
execute
public void execute(AndNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException Description copied from interface:IQueryExecutorExecute And expression - execute both children and union the results- Throws:
SQLException
-
execute
public void execute(InNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException Description copied from interface:IQueryExecutorExecute IN expression - can be a list of simple values or an inner select query- Throws:
SQLException
-
execute
public void execute(NotInNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException Description copied from interface:IQueryExecutorexecute NOT IN query- Throws:
SQLException
-
execute
public IQueryResultSet<IEntryPacket> execute(ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException - Throws:
SQLException
-
execute
public void execute(ExpNode expNode, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException - Throws:
SQLException
-