| Modifier and Type | Method and Description |
|---|---|
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 |
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 |
in()
JCYPHER
define the relation direction as incoming
e.g.
|
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 |
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 |
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.
|
Node |
node()
JCYPHER
match or create (depends on the clause) nodes connected to the relation
e.g.
|
Node |
node(JcNode jcNode)
JCYPHER
match or create (depends on the clause) nodes connected to the relation,
make them accessible by a JcNode element later on in the query e.g.
|
Relation |
out()
JCYPHER
define the relation direction as outgoing
e.g.
|
Relation |
type(String type)
JCYPHER
set a type to match or create relations with that type
e.g.
|
public Relation type(String type)
public Node node()
public Node node(JcNode jcNode)
public Relation in()
public Relation out()
public Relation minHops(int minHops)
public Relation maxHops(int maxHops)
public Relation maxHopsUnbound()
public Relation hopsUnbound()
public Relation hops(int hops)
Copyright © 2016. All rights reserved.