Package | Description |
---|---|
org.apache.tinkerpop.gremlin.process.traversal | |
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph |
Modifier and Type | Class and Description |
---|---|
class |
TextP
Predefined
Predicate values that can be used as String filters. |
Modifier and Type | Method and Description |
---|---|
P<V> |
P.and(Predicate<? super V> predicate) |
static <V> P<V> |
P.between(V first,
V second)
Determines if a value is within (inclusive) of the range of the two specified values.
|
P<V> |
P.clone() |
static <V> P<V> |
P.eq(V value)
Determines if values are equal.
|
static <V> P<V> |
P.gt(V value)
Determines if a value is greater than another.
|
static <V> P<V> |
P.gte(V value)
Determines if a value is greater than or equal to another.
|
static <V> P<V> |
P.inside(V first,
V second)
Determines if a value is within (exclusive) the range of the two specified values.
|
static <V> P<V> |
P.lt(V value)
Determines if a value is less than another.
|
static <V> P<V> |
P.lte(V value)
Determines if a value is less than or equal to another.
|
P<V> |
P.negate() |
static <V> P<V> |
P.neq(V value)
Determines if values are not equal.
|
static <V> P<V> |
P.not(P<V> predicate)
The opposite of the specified
P . |
P<V> |
P.or(Predicate<? super V> predicate) |
static <V> P<V> |
P.outside(V first,
V second)
Determines if a value is not within (exclusive) of the range of the two specified values.
|
static P |
P.test(BiPredicate biPredicate,
Object value)
Construct an instance of
P from a BiPredicate . |
static <V> P<V> |
P.within(Collection<V> value)
Determines if a value is within the specified list of values.
|
static <V> P<V> |
P.within(V... values)
Determines if a value is within the specified list of values.
|
static <V> P<V> |
P.without(Collection<V> value)
Deermines if a value is not within the specified list of values.
|
static <V> P<V> |
P.without(V... values)
Determines if a value is not within the specified list of values.
|
Modifier and Type | Method and Description |
---|---|
static <V> P<V> |
P.not(P<V> predicate)
The opposite of the specified
P . |
Modifier and Type | Method and Description |
---|---|
default GraphTraversal<S,E> |
GraphTraversal.has(String propertyKey,
P<?> predicate)
Filters vertices, edges and vertex properties based on their properties.
|
default GraphTraversal<S,E> |
GraphTraversal.has(String label,
String propertyKey,
P<?> predicate)
Filters vertices, edges and vertex properties based on their properties.
|
default GraphTraversal<S,E> |
GraphTraversal.has(T accessor,
P<?> predicate)
Filters vertices, edges and vertex properties based on their properties.
|
default GraphTraversal<S,E> |
GraphTraversal.hasId(P<Object> predicate)
Filters vertices, edges and vertex properties based on their identifier.
|
default GraphTraversal<S,E> |
GraphTraversal.hasKey(P<String> predicate)
Filters vertices, edges and vertex properties based on their key.
|
default GraphTraversal<S,E> |
GraphTraversal.hasLabel(P<String> predicate)
Filters vertices, edges and vertex properties based on their label.
|
default GraphTraversal<S,E> |
GraphTraversal.hasValue(P<Object> predicate)
Filters vertices, edges and vertex properties based on their value.
|
default GraphTraversal<S,E> |
GraphTraversal.is(P<E> predicate)
Filters
E object values given the provided predicate . |
default GraphTraversal<S,E> |
GraphTraversal.where(P<String> predicate)
Filters the current object based on the object itself or the path history.
|
default GraphTraversal<S,E> |
GraphTraversal.where(String startKey,
P<String> predicate)
Filters the current object based on the object itself or the path history.
|
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.