| Package | Description |
|---|---|
| iot.jcypher.domainquery | |
| iot.jcypher.domainquery.api | |
| iot.jcypher.domainquery.ast | |
| iot.jcypher.domainquery.internal |
| Modifier and Type | Method and Description |
|---|---|
protected DomainObjectMatch<DomainObject> |
AbstractDomainQuery.createGenMatchForInternal(List<DomainObject> domainObjects,
String domainObjectTypeName)
Create a match for a list of domain objects which were retrieved by another query.
|
static <T> DomainObjectMatch<T> |
InternalAccess.createMatch(AbstractDomainQuery query,
Class<T> domainObjectType) |
<T> DomainObjectMatch<T> |
DomainQuery.createMatch(Class<T> domainObjectType)
Create a match for a specific type of domain objects
|
DomainObjectMatch<DomainObject> |
GDomainQuery.createMatch(String domainObjectTypeName)
Create a match for a specific type of domain objects.
|
DomainObjectMatch<DomainObject> |
GDomainQuery.createMatchFor(List<DomainObject> domainObjects,
String domainObjectTypeName)
Create a match for a list of domain objects which were retrieved by another query.
|
<T> DomainObjectMatch<T> |
DomainQuery.createMatchFor(List<T> domainObjects,
Class<T> domainObjectType)
Create a match for a list of domain objects which were retrieved by another query
|
<T> DomainObjectMatch<T> |
AbstractDomainQuery.createMatchFor(T domainObject)
Create a match for a domain object which was retrieved by another query
|
protected <T> DomainObjectMatch<T> |
AbstractDomainQuery.createMatchForInternal(List<T> domainObjects,
Class<T> domainObjectType)
Create a match for a list of domain objects which were retrieved by another query
|
<T> DomainObjectMatch<T> |
AbstractDomainQuery.createMatchFrom(DomainObjectMatch<T> domainObjectMatch)
Create a match from a DomainObjectMatch specified in the context of another query
|
<T> DomainObjectMatch<T> |
AbstractDomainQuery.INTERSECTION(DomainObjectMatch<T>... set)
Build the intersection of the specified sets
|
<T> DomainObjectMatch<T> |
AbstractDomainQuery.UNION(DomainObjectMatch<T>... set)
Build the union of the specified sets
|
| Modifier and Type | Method and Description |
|---|---|
long |
CountQueryResult.countOf(DomainObjectMatch<?> match)
Answer the number of domain objects
|
<T> DomainObjectMatch<T> |
AbstractDomainQuery.createMatchFrom(DomainObjectMatch<T> domainObjectMatch)
Create a match from a DomainObjectMatch specified in the context of another query
|
<T> DomainObjectMatch<T> |
AbstractDomainQuery.INTERSECTION(DomainObjectMatch<T>... set)
Build the intersection of the specified sets
|
Order |
AbstractDomainQuery.ORDER(DomainObjectMatch<?> toOrder)
Define an order on a set of domain objects which are specified by
a DomainObjectMatch in the context of the domain query.
|
<T> Select<T> |
AbstractDomainQuery.REJECT_FROM(DomainObjectMatch<T> start)
Reject domain objects from a set of domain objects.
|
<T> List<T> |
DomainQueryResult.resultOf(DomainObjectMatch<T> match)
Answer the matching domain objects
|
<T> List<T> |
DomainQueryResult.resultOf(DomainObjectMatch<T> match,
boolean forceResolve)
Answer the matching domain objects
|
<T> Select<T> |
AbstractDomainQuery.SELECT_FROM(DomainObjectMatch<T> start)
Select domain objects out of a set of other domain objects.
|
Traverse |
AbstractDomainQuery.TRAVERSE_FROM(DomainObjectMatch<?> start)
Start traversing the graph of domain objects.
|
<T> DomainObjectMatch<T> |
AbstractDomainQuery.UNION(DomainObjectMatch<T>... set)
Build the union of the specified sets
|
| Modifier and Type | Method and Description |
|---|---|
<T> DomainObjectMatch<T> |
Collect.AS(Class<T> domainObjectType)
Return the collect result as a DomainObjectMatch of specified typ
(it represents a set of objects of that type).
|
static <T> DomainObjectMatch<T> |
APIAccess.createDomainObjectMatch(Class<T> targetType,
DomainObjectMatch<?> delegate) |
static <T> DomainObjectMatch<T> |
APIAccess.createDomainObjectMatch(Class<T> domainObjectType,
int num,
QueryExecutor.MappingInfo mappingInfo) |
static <T> DomainObjectMatch<T> |
APIAccess.createDomainObjectMatch(DomainObjectMatch<T> domainObjectMatch,
int num,
QueryExecutor.MappingInfo mappingInfo) |
DomainObjectMatch<T> |
Select.ELEMENTS(TerminalResult... where)
Specify one or more predicate expressions to constrain the set of domain objects
|
static DomainObjectMatch<?> |
APIAccess.getDelegate(DomainObjectMatch<?> receiver) |
static DomainObjectMatch<?> |
APIAccess.getDomainObjectMatch(Count count) |
static DomainObjectMatch<?> |
APIAccess.getTraversalSource(DomainObjectMatch<?> dom) |
DomainObjectMatch<DomainObject> |
TraversalStep.TO_GENERIC(String domainObjectTypeName)
End the traversal of the domain object graph matching a specific type of domain objects.
|
<T> DomainObjectMatch<T> |
TraversalStep.TO(Class<T> domainObjectType)
End the traversal of the domain object graph matching a specific type of domain objects
|
| Modifier and Type | Method and Description |
|---|---|
static List<DomainObjectMatch<?>> |
APIAccess.getCollectExpressionOwner(DomainObjectMatch<?> dom) |
| Modifier and Type | Method and Description |
|---|---|
static void |
APIAccess.addCollectExpressionOwner(DomainObjectMatch<?> dom,
DomainObjectMatch<?> collectXprOwner) |
static void |
APIAccess.addCollectExpressionOwner(DomainObjectMatch<?> dom,
DomainObjectMatch<?> collectXprOwner) |
<E> TerminalResult |
BooleanOperation.CONTAINS(DomainObjectMatch<E> domainObjects)
JCYPHER
test if this list of domain objects contains all elements
of the target list of domain objects
Note: this expression is only valid
within a collection expression.
|
static Count |
APIAccess.createCount(DomainObjectMatch<?> dom) |
static <T> DomainObjectMatch<T> |
APIAccess.createDomainObjectMatch(Class<T> targetType,
DomainObjectMatch<?> delegate) |
static <T> DomainObjectMatch<T> |
APIAccess.createDomainObjectMatch(DomainObjectMatch<T> domainObjectMatch,
int num,
QueryExecutor.MappingInfo mappingInfo) |
static String |
APIAccess.getBaseNodeName(DomainObjectMatch<?> dom) |
static JcValue |
APIAccess.getCloneOf(DomainObjectMatch<?> dom,
JcValue val) |
static List<DomainObjectMatch<?>> |
APIAccess.getCollectExpressionOwner(DomainObjectMatch<?> dom) |
static DomainObjectMatch<?> |
APIAccess.getDelegate(DomainObjectMatch<?> receiver) |
static <T> Class<T> |
APIAccess.getDomainObjectType(DomainObjectMatch<T> dom) |
static QueryExecutor.MappingInfo |
APIAccess.getMappingInfo(DomainObjectMatch<?> dom) |
static JcNode |
APIAccess.getNodeForType(DomainObjectMatch<?> dom,
Class<?> clazz) |
static List<JcNode> |
APIAccess.getNodes(DomainObjectMatch<?> dom) |
static int |
APIAccess.getPageLength(DomainObjectMatch<?> dom) |
static int |
APIAccess.getPageOffset(DomainObjectMatch<?> dom) |
static DomainObjectMatch<?> |
APIAccess.getTraversalSource(DomainObjectMatch<?> dom) |
static Class<?> |
APIAccess.getTypeForNodeName(DomainObjectMatch<?> dom,
String nodeName) |
static List<Class<?>> |
APIAccess.getTypeList(DomainObjectMatch<?> dom) |
static UnionExpression |
APIAccess.getUnionExpression(DomainObjectMatch<?> dom) |
<E> TerminalResult |
BooleanOperation.IN(DomainObjectMatch<E> domainObjects)
JCYPHER
test for containment in a list of matched domain objects
|
static boolean |
APIAccess.isPageChanged(DomainObjectMatch<?> dom) |
static boolean |
APIAccess.isPartOfReturn(DomainObjectMatch<?> dom) |
static boolean |
APIAccess.isPartOfUnionExpression(DomainObjectMatch<?> unionDom,
DomainObjectMatch<?> part) |
static boolean |
APIAccess.isPartOfUnionExpression(DomainObjectMatch<?> unionDom,
DomainObjectMatch<?> part) |
static void |
APIAccess.setPageChanged(DomainObjectMatch<?> dom,
boolean pageChanged) |
static void |
APIAccess.setPartOfReturn(DomainObjectMatch<?> dom,
boolean partOfReturn) |
static void |
APIAccess.setTraversalSource(DomainObjectMatch<?> dom,
DomainObjectMatch<?> traversalSource) |
static void |
APIAccess.setTraversalSource(DomainObjectMatch<?> dom,
DomainObjectMatch<?> traversalSource) |
static void |
APIAccess.setUnionExpression(DomainObjectMatch<?> dom,
UnionExpression unionExpression) |
| Modifier and Type | Method and Description |
|---|---|
DomainObjectMatch<?> |
FromPreviousQueryExpression.getActualMatch() |
DomainObjectMatch<?> |
UnionExpression.getCommonTraversalSource() |
DomainObjectMatch<?> |
TraversalExpression.getEnd() |
DomainObjectMatch<?> |
SelectExpression.getEnd() |
DomainObjectMatch<?> |
CollectExpression.getEnd() |
DomainObjectMatch<?> |
OrderExpression.getObjectMatch() |
DomainObjectMatch<?> |
FromPreviousQueryExpression.getPreviousMatch() |
DomainObjectMatch<?> |
UnionExpression.getResult() |
DomainObjectMatch<?> |
TraversalExpression.getStart() |
DomainObjectMatch<?> |
SelectExpression.getStart() |
DomainObjectMatch<?> |
PredicateExpression.getStartDOM() |
DomainObjectMatch<?> |
CollectExpression.getStartDOM() |
| Modifier and Type | Method and Description |
|---|---|
List<DomainObjectMatch<?>> |
UnionExpression.getSources() |
List<DomainObjectMatch<?>> |
SelectExpression.getTraversalResults() |
| Modifier and Type | Method and Description |
|---|---|
void |
SelectExpression.addTraversalResult(DomainObjectMatch<?> dom) |
boolean |
UnionExpression.isLastOfSources(DomainObjectMatch<?> dom) |
void |
TraversalExpression.setEnd(DomainObjectMatch<?> end) |
void |
SelectExpression.setEnd(DomainObjectMatch<?> end) |
void |
CollectExpression.setEnd(DomainObjectMatch<?> end) |
void |
UnionExpression.setResult(DomainObjectMatch<?> result) |
| Constructor and Description |
|---|
FromPreviousQueryExpression(DomainObjectMatch<?> actualMatch,
DomainObjectMatch<?> previousMatch) |
FromPreviousQueryExpression(DomainObjectMatch<?> actualMatch,
DomainObjectMatch<?> previousMatch) |
FromPreviousQueryExpression(DomainObjectMatch<?> actualMatch,
List<?> previousObjects) |
OrderExpression(DomainObjectMatch<?> objectMatch) |
SelectExpression(Class<T> startType,
DomainObjectMatch<?> start,
AbstractDomainQuery.IntAccess domainQueryIntAccess) |
SelectExpression(Class<T> startType,
DomainObjectMatch<?> start,
AbstractDomainQuery.IntAccess domainQueryIntAccess,
boolean reject) |
TraversalExpression(DomainObjectMatch<?> start,
QueryExecutor queryExecutor) |
| Modifier and Type | Method and Description |
|---|---|
DomainObjectMatch<?> |
ReplayedQueryContext.getById(String id) |
| Modifier and Type | Method and Description |
|---|---|
List<DomainObjectMatch<?>> |
QueryExecutor.getDomainObjectMatches() |
| Modifier and Type | Method and Description |
|---|---|
long |
QueryExecutor.getCountResult(DomainObjectMatch<?> match) |
List<IASTObject> |
QueryExecutor.getExpressionsFor(DomainObjectMatch<?> dom,
List<IASTObject> astObjs) |
OrderExpression |
QueryExecutor.getOrderFor(DomainObjectMatch<?> dom) |
long |
QueryExecutor.getReplayedCountResult(DomainObjectMatch<?> match) |
<T> List<T> |
QueryExecutor.loadReplayedResult(DomainObjectMatch<T> match) |
<T> List<T> |
QueryExecutor.loadResult(DomainObjectMatch<T> match) |
static void |
QueryRecorder.recordInvocationReplace(DomainObjectMatch<?> on,
Object toReplace,
String methodName) |
Copyright © 2016. All rights reserved.