Q - the "self"-type of this queryT - the type of the base queryG - the type of the graph where to execute the query@ParametersAreNonnullByDefault public abstract class AbstractIdQuery<Q extends AbstractIdQuery<Q,T,G>,T extends com.tinkerpop.blueprints.Query,G extends IdGraph<G>> extends AbstractGraphBasedObject<T,G> implements com.tinkerpop.blueprints.Query
Query able to map the result of each method call to a dedicated implementation.graphbase| Constructor and Description |
|---|
AbstractIdQuery(T base,
G graph)
Constructs a new
AbstractIdQuery. |
| Modifier and Type | Method and Description |
|---|---|
<E extends com.tinkerpop.blueprints.Edge> |
edge(BiFunction<com.tinkerpop.blueprints.Edge,G,E> mappingFunc)
Execute the query and return the matching edge.
|
Iterable<com.tinkerpop.blueprints.Edge> |
edges() |
<E extends com.tinkerpop.blueprints.Edge> |
edges(BiFunction<com.tinkerpop.blueprints.Edge,G,E> mappingFunc)
Execute the query and return the matching edges.
|
Q |
has(String key) |
<C extends Comparable<C>> |
has(String key,
C value,
com.tinkerpop.blueprints.Query.Compare compare)
Deprecated.
|
Q |
has(String key,
Object value) |
Q |
has(String key,
com.tinkerpop.blueprints.Predicate predicate,
Object value) |
Q |
hasNot(String key) |
Q |
hasNot(String key,
Object value) |
<C extends Comparable<?>> |
interval(String key,
C startValue,
C endValue) |
Q |
limit(int limit) |
protected Q |
me()
Returns this instance, casted as a
T. |
<V extends com.tinkerpop.blueprints.Vertex> |
vertex(BiFunction<com.tinkerpop.blueprints.Vertex,G,V> mappingFunc)
Execute the query and return the vertex on the other end of the matching edge.
|
Iterable<com.tinkerpop.blueprints.Vertex> |
vertices() |
<V extends com.tinkerpop.blueprints.Vertex> |
vertices(BiFunction<com.tinkerpop.blueprints.Vertex,G,V> mappingFunc)
Execute the query and return the vertices on the other end of the matching edges.
|
getBaseElement@Nonnull public Q hasNot(String key)
hasNot in interface com.tinkerpop.blueprints.Query@Nonnull public Q has(String key, Object value)
has in interface com.tinkerpop.blueprints.Query@Nonnull public Q hasNot(String key, Object value)
hasNot in interface com.tinkerpop.blueprints.Query@Nonnull public Q has(String key, com.tinkerpop.blueprints.Predicate predicate, Object value)
has in interface com.tinkerpop.blueprints.Query@Nonnull @Deprecated public <C extends Comparable<C>> Q has(String key, C value, com.tinkerpop.blueprints.Query.Compare compare)
has in interface com.tinkerpop.blueprints.Query@Nonnull public <C extends Comparable<?>> Q interval(String key, C startValue, C endValue)
interval in interface com.tinkerpop.blueprints.Query@Nonnull public Q limit(int limit)
limit in interface com.tinkerpop.blueprints.Query@Nonnull public Iterable<com.tinkerpop.blueprints.Edge> edges()
edges in interface com.tinkerpop.blueprints.Query@Nonnull public Iterable<com.tinkerpop.blueprints.Vertex> vertices()
vertices in interface com.tinkerpop.blueprints.Query@Nonnull public <E extends com.tinkerpop.blueprints.Edge> Iterable<E> edges(BiFunction<com.tinkerpop.blueprints.Edge,G,E> mappingFunc)
E - the type of the expected edgesmappingFunc - the function to create a new dedicated edge from another@Nonnull public <E extends com.tinkerpop.blueprints.Edge> Optional<E> edge(BiFunction<com.tinkerpop.blueprints.Edge,G,E> mappingFunc)
E - the type of the expected edgemappingFunc - the function to create a new dedicated edge from another@Nonnull public <V extends com.tinkerpop.blueprints.Vertex> Iterable<V> vertices(BiFunction<com.tinkerpop.blueprints.Vertex,G,V> mappingFunc)
V - the type of the expected verticesmappingFunc - the function to create a new dedicated vertex from another@Nonnull public <V extends com.tinkerpop.blueprints.Vertex> Optional<V> vertex(BiFunction<com.tinkerpop.blueprints.Vertex,G,V> mappingFunc)
V - the type of the expected vertexmappingFunc - the function to create a new dedicated vertex from anotherprotected final Q me()
T.Copyright © 2013–2019 Atlanmod. All rights reserved.