Interface VertexConditionTraversal
- All Known Subinterfaces:
VertexTraversal,VertexUntilTraversal
public interface VertexConditionTraversal
The base conditions to
VertexTraversal and VertexUntilTraversal-
Method Summary
Modifier and TypeMethodDescriptionMap theVertexTraversalto its incoming adjacent vertices given the edge labels.default VertexTraversalMap theVertexTraversalto its incoming adjacent vertices given the edge labels.Adds a equals condition to a queryAdds a equals condition to a queryAdds a equals condition to a querydefault VertexTraversalAdds a equals condition to a querydefault VertexTraversalAdds a equals condition to a queryAdds a equals condition to a queryhas(org.apache.tinkerpop.gremlin.structure.T accessor, org.apache.tinkerpop.gremlin.process.traversal.P<?> predicate) Adds a equals condition to a query<T> VertexTraversalDefines Vertex as label conditionDefines Vertex as label conditiondefault VertexTraversalDefines Vertex as label condition<T> VertexTraversalDefines Vertex as label conditionDefines Vertex has not a propertydefault VertexTraversalDefines Vertex has not a propertyMap theVertexTraversalto its adjacent vertices given the edge labels.default VertexTraversalMap theVertexTraversalto its adjacent vertices given the edge labels.Map theVertexTraversalto its outgoing adjacent vertices given the edge labels.default VertexTraversalMap theVertexTraversalto its outgoing adjacent vertices given the edge labels.
-
Method Details
-
has
Adds a equals condition to a query- Parameters:
propertyKey- the keyvalue- the value to the condition- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when either key or value are null
-
has
Adds a equals condition to a query- Parameters:
propertyKey- the key- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when the propertyKey is null
-
has
VertexTraversal has(String propertyKey, org.apache.tinkerpop.gremlin.process.traversal.P<?> predicate) Adds a equals condition to a query- Parameters:
propertyKey- the keypredicate- the predicate condition- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when either key or predicate condition are null
-
has
Adds a equals condition to a query- Parameters:
propertyKey- the keyvalue- the value to the condition- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when either key or value are null
-
has
default VertexTraversal has(Supplier<String> propertyKey, org.apache.tinkerpop.gremlin.process.traversal.P<?> predicate) Adds a equals condition to a query- Parameters:
propertyKey- the keypredicate- the predicate condition- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when either key or predicate condition are null
-
has
Adds a equals condition to a query- Parameters:
accessor- the keyvalue- the value to the condition- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when either key or value are null
-
has
VertexTraversal has(org.apache.tinkerpop.gremlin.structure.T accessor, org.apache.tinkerpop.gremlin.process.traversal.P<?> predicate) Adds a equals condition to a query- Parameters:
accessor- the keypredicate- the predicate condition- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when either key or value are null
-
hasNot
Defines Vertex has not a property- Parameters:
propertyKey- the property key- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when propertyKey is null
-
hasNot
Defines Vertex has not a property- Parameters:
propertyKey- the property key- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when propertyKey is null
-
out
Map theVertexTraversalto its outgoing adjacent vertices given the edge labels.- Parameters:
labels- the edge labels to traverse- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when has any null element
-
in
Map theVertexTraversalto its adjacent vertices given the edge labels.- Parameters:
labels- the edge labels to traverse- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when has any null element
-
both
Map theVertexTraversalto its incoming adjacent vertices given the edge labels.- Parameters:
labels- the edge labels to traverse- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when has any null element
-
out
Map theVertexTraversalto its outgoing adjacent vertices given the edge labels.- Parameters:
label- the edge labels to traverse- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when has any null element
-
in
Map theVertexTraversalto its adjacent vertices given the edge labels.- Parameters:
label- the edge labels to traverse- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when has any null element
-
both
Map theVertexTraversalto its incoming adjacent vertices given the edge labels.- Parameters:
label- the edge labels to traverse- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when has any null element
-
hasLabel
Defines Vertex as label condition- Parameters:
label- the labels in the condition- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when label is null
-
hasLabel
Defines Vertex as label condition- Type Parameters:
T- the entity type- Parameters:
type- reads theEntityannotation otherwise theClass.getSimpleName()- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when entityClazz is null
-
hasLabel
Defines Vertex as label condition- Type Parameters:
T- the entity type- Parameters:
predicate- the predicate- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when predicate is null
-
hasLabel
Defines Vertex as label condition- Parameters:
label- the labels in the condition- Returns:
- a
VertexTraversalwith the new condition - Throws:
NullPointerException- when has any null element
-