Class ConnectiveP<V>
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.P<V>
org.apache.tinkerpop.gremlin.process.traversal.util.ConnectiveP<V>
- All Implemented Interfaces:
Serializable,Cloneable,Predicate<V>
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.tinkerpop.gremlin.process.traversal.P
biPredicate, literals, variables -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()booleanDetermines if this predicate holds a child traversal whose result is resolved at runtime.booleannegate()negate(ConnectiveP<V> p) voidresolve(Traverser.Admin<?> traverser) Resolves the child traversal(s) against the given traverser, replacing the traversal value with the resolved literal(s) for this test cycle.voidupdateVariable(String name, Object value) Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.P
between, between, collectTraversals, eq, eq, eq, getBiPredicate, getChildTraversals, getPredicateName, getValue, gt, gt, gt, gte, gte, gte, inside, inside, isResolvedEmpty, lt, lt, lt, lte, lte, lte, neq, neq, neq, not, outside, outside, setValue, test, test, toString, typeOf, typeOf, typeOf, within, within, within, within, within, without, without, without, without, without
-
Field Details
-
predicates
-
-
Constructor Details
-
ConnectiveP
-
-
Method Details
-
getPredicates
-
negate
-
negate
-
hashCode
public int hashCode() -
equals
-
clone
-
and
-
or
-
isParameterized
public boolean isParameterized()- Overrides:
isParameterizedin classP<V>
-
updateVariable
- Overrides:
updateVariablein classP<V>
-
getGValues
- Overrides:
getGValuesin classP<V>
-
hasTraversal
public boolean hasTraversal()Description copied from class:PDetermines if this predicate holds a child traversal whose result is resolved at runtime.- Overrides:
hasTraversalin classP<V>
-
resolve
Description copied from class:PResolves the child traversal(s) against the given traverser, replacing the traversal value with the resolved literal(s) for this test cycle. If no traversal is present, this method returns immediately.
-