| Package | Description |
|---|---|
| iot.jcypher.query.api.pattern | |
| iot.jcypher.query.factories.clause | |
| iot.jcypher.query.factories.xpression |
| Modifier and Type | Method and Description |
|---|---|
Relation |
Relation.hops(int hops)
JCYPHER
define the exact number of hops
(hops are the number of relations between two nodes in a pattern);
if hops are not defined explicitly, it defaults to 1 e.g.
|
Relation |
Relation.hopsUnbound()
JCYPHER
define the minimum number of hops as 0 and the maximum number of hops as infinite
(hops are the number of relations between two nodes in a pattern); if hops are not defined explicitly, the number of hops defaults to 1 e.g.
|
Relation |
Relation.in()
JCYPHER
define the relation direction as incoming
e.g.
|
Relation |
Relation.maxHops(int maxHops)
JCYPHER
define the maximum number of hops
(hops are the number of relations between two nodes in a pattern);
if hops are not defined explicitly, it defaults to 1 e.g.
|
Relation |
Relation.maxHopsUnbound()
JCYPHER
define the maximum number of hops as infinite
(hops are the number of relations between two nodes in a pattern)
e.g.
|
Relation |
Relation.minHops(int minHops)
JCYPHER
define the minimum number of hops
(hops are the number of relations between two nodes in a pattern);
if hops are not defined explicitly, it defaults to 1 e.g.
|
Relation |
Relation.out()
JCYPHER
define the relation direction as outgoing
e.g.
|
static Relation |
XFactory.relation() |
Relation |
Node.relation()
JCYPHER
match or create (depends on the clause) relations connected to the node
e.g.
|
static Relation |
XFactory.relation(JcRelation jcRelation) |
Relation |
Node.relation(JcRelation relation)
JCYPHER
match or create (depends on the clause) relations connected to the node,
make them accessible by a JcRelation element later on in the query e.g.
|
Relation |
Relation.type(String type)
JCYPHER
set a type to match or create relations with that type
e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static Relation |
OPTIONAL_MATCH.relation()
JCYPHER
match relations
e.g.
|
static Relation |
MERGE.relation()
JCYPHER
merge (match or create if not exists) a relation
e.g.
|
static Relation |
MATCH.relation()
JCYPHER
match relations
e.g.
|
static Relation |
CREATE_UNIQUE.relation()
JCYPHER
create a relation
e.g.
|
static Relation |
CREATE.relation()
JCYPHER
create a relation
e.g.
|
static Relation |
OPTIONAL_MATCH.relation(JcRelation relation)
JCYPHER
match relations, make them accessible by a JcRelation element later on in the query
e.g.
|
static Relation |
MERGE.relation(JcRelation relation)
JCYPHER
merge (match or create if not exists) a relation, make it accessible by a JcRelation element later on in the query
e.g.
|
static Relation |
MATCH.relation(JcRelation relation)
JCYPHER
match relations, make them accessible by a JcRelation element later on in the query
e.g.
|
static Relation |
CREATE_UNIQUE.relation(JcRelation relation)
JCYPHER
create a relation, make it accessible by a JcRelation element later on in the query
e.g.
|
static Relation |
CREATE.relation(JcRelation relation)
JCYPHER
create a relation, make it accessible by a JcRelation element later on in the query
e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static Relation |
X.relation()
JCYPHER
match relations
e.g.
|
static Relation |
X.relation(JcRelation relation)
JCYPHER
match relations, make them accessible by a JcRelation element later on in the query
e.g.
|
Copyright © 2016. All rights reserved.