public interface ValuePredicateAdmin extends ValuePredicate
| Modifier and Type | Method and Description |
|---|---|
default ValuePredicateAdmin |
admin() |
void |
applyPredicate(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,org.apache.tinkerpop.gremlin.structure.Vertex> traversal)
Apply the predicate to the gremlin traversal, so the traversal will filter things that don't meet the predicate
|
default Optional<Object> |
equalsValue() |
Optional<VarPatternAdmin> |
getInnerVar()
Get the inner variable that this predicate refers to, if one is present
|
Optional<org.apache.tinkerpop.gremlin.process.traversal.P<Object>> |
getPredicate() |
boolean |
isCompatibleWith(ValuePredicateAdmin predicate) |
default boolean |
isSpecific() |
default ValuePredicateAdmin admin()
admin in interface ValuePredicate@CheckReturnValue default boolean isSpecific()
@CheckReturnValue boolean isCompatibleWith(ValuePredicateAdmin predicate)
predicate - to be compared in terms of compatibility@CheckReturnValue default Optional<Object> equalsValue()
@CheckReturnValue Optional<org.apache.tinkerpop.gremlin.process.traversal.P<Object>> getPredicate()
@CheckReturnValue Optional<VarPatternAdmin> getInnerVar()
void applyPredicate(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,org.apache.tinkerpop.gremlin.structure.Vertex> traversal)
traversal - the traversal to apply the predicate toCopyright © 2017 Grakn Labs Ltd. All rights reserved.