public class QueryExecutor extends Object implements IASTObjectsContainer
| Modifier and Type | Class and Description |
|---|---|
class |
QueryExecutor.MappingInfo |
| Constructor and Description |
|---|
QueryExecutor(IDomainAccess domainAccess) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAstObject(IASTObject astObj) |
void |
execute()
Execute the domain query
|
void |
executeCount()
Execute the count query
|
protected void |
finalize() |
List<IASTObject> |
getAstObjects() |
long |
getCountResult(DomainObjectMatch<?> match) |
List<DomainObjectMatch<?>> |
getDomainObjectMatches() |
List<IASTObject> |
getExpressionsFor(DomainObjectMatch<?> dom,
List<IASTObject> astObjs) |
QueryExecutor.MappingInfo |
getMappingInfo() |
OrderExpression |
getOrderFor(DomainObjectMatch<?> dom) |
iot.jcypher.domainquery.internal.QueryExecutor.QueryContext |
getQueryResult() |
RecordedQuery |
getRecordedQuery()
Answer the recorded query.
|
long |
getReplayedCountResult(DomainObjectMatch<?> match) |
ReplayedQueryContext |
getReplayedQueryContext()
Answer the context containing DomainObjectMatch(es) of a replayed query.
|
boolean |
hasBeenReplayed()
answer true if this query has been replayed and therefore contains the replayed query result
|
<T> List<T> |
loadReplayedResult(DomainObjectMatch<T> match) |
<T> List<T> |
loadResult(DomainObjectMatch<T> match) |
Parameter |
parameter(String name)
Get or create, if not exists, a query parameter.
|
void |
recordQuery(RecordedQuery rq,
AbstractDomainQuery q) |
void |
replayQuery(ReplayedQueryContext rqc) |
public QueryExecutor(IDomainAccess domainAccess)
public void addAstObject(IASTObject astObj)
addAstObject in interface IASTObjectsContainerpublic List<IASTObject> getAstObjects()
public OrderExpression getOrderFor(DomainObjectMatch<?> dom)
public List<DomainObjectMatch<?>> getDomainObjectMatches()
public Parameter parameter(String name)
name - of the parameterpublic void execute()
public void executeCount()
public boolean hasBeenReplayed()
public QueryExecutor.MappingInfo getMappingInfo()
public List<IASTObject> getExpressionsFor(DomainObjectMatch<?> dom, List<IASTObject> astObjs)
public <T> List<T> loadResult(DomainObjectMatch<T> match)
public <T> List<T> loadReplayedResult(DomainObjectMatch<T> match)
public long getCountResult(DomainObjectMatch<?> match)
public long getReplayedCountResult(DomainObjectMatch<?> match)
public iot.jcypher.domainquery.internal.QueryExecutor.QueryContext getQueryResult()
public void recordQuery(RecordedQuery rq, AbstractDomainQuery q)
public void replayQuery(ReplayedQueryContext rqc)
public ReplayedQueryContext getReplayedQueryContext()
public RecordedQuery getRecordedQuery()
Copyright © 2016. All rights reserved.