public class JoinedQueryExecutor extends AbstractQueryExecutor
AbstractQueryExecutor.EntriesOrderByComparator
_logger, query
Constructor and Description |
---|
JoinedQueryExecutor(AbstractDMLQuery query) |
Modifier and Type | Method and Description |
---|---|
void |
execute(AndNode exp,
ISpaceProxy space,
Transaction txn,
int readModifier,
int max)
Execute And expression - execute both children and union the results
|
void |
execute(ExpNode exp,
ISpaceProxy space,
Transaction txn,
int readModifier,
int max) |
void |
execute(InNode exp,
ISpaceProxy space,
Transaction txn,
int readModifier,
int max)
Execute IN expression - can be a list of simple values or an inner select query
|
IQueryResultSet<IEntryPacket> |
execute(ISpaceProxy space,
Transaction txn,
int readModifier,
int max) |
void |
execute(NotInNode exp,
ISpaceProxy space,
Transaction txn,
int readModifier,
int max)
execute NOT IN query
|
void |
execute(OrNode exp,
ISpaceProxy space,
Transaction txn,
int readModifier,
int max)
Execute Or expression - execute both children and union the results
|
Comparator<IEntryPacket> |
getGroupByComparator(List<SelectColumn> groupColumns) |
boolean |
getResults(ExpNode node) |
protected boolean |
matchesExpressionTree(ExpNode root,
ISpaceProxy space,
Transaction txn,
int readModifier,
int max)
Traverse the binary expression tree non-recursively using a custom stack The tree has to be
traversed in postorder - the parent is traversed after its children.
|
void |
setResults(ExpNode node,
boolean result) |
aggregate, avg, clear, convertEntriesToResultArrays, count, execute, executeTemplate, extractResults, filterDistinctEntries, getGroupByComparator, getIntermediateResults, getOrderByComparator, getQuery, groupBy, minMax, orderBy, readAll, setResults, sum, traverseExpressionTree
public JoinedQueryExecutor(AbstractDMLQuery query)
query
- public IQueryResultSet<IEntryPacket> execute(ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException
SQLException
public void execute(ExpNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException
SQLException
public boolean getResults(ExpNode node)
public void setResults(ExpNode node, boolean result)
public void execute(AndNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException
IQueryExecutor
SQLException
public void execute(InNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException
IQueryExecutor
SQLException
public void execute(NotInNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException
IQueryExecutor
SQLException
public void execute(OrNode exp, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException
IQueryExecutor
SQLException
public Comparator<IEntryPacket> getGroupByComparator(List<SelectColumn> groupColumns)
protected boolean matchesExpressionTree(ExpNode root, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException
SQLException
Copyright © GigaSpaces.