public interface GraphStrategy
GraphStrategy follow a common pattern where each method
represents some injection point for new logic in the Gremlin Structure API. A method always accepts a
StrategyContext which contains the context of the call being made and will have
a different StrategyContext.getCurrent() object depending on that context (e.g the
Vertex.addEdge(String, com.tinkerpop.gremlin.structure.Vertex, Object...) method will send the instance of
the Vertex that was the object of that method call).
A method will always return a UnaryOperator where the argument and return value to it is a function with
the same signature as the calling method where the strategy logic is being injected. The argument passed in to
this function will be a reference to the original calling function (from an implementation perspective, it might
be best to think of this "calling function" as the original Gremlin Structure API method that performs the ultimate
operation against the graph). In constructing the outgoing function to the UnaryOperator, it should
of course match the signature of the original calling function and depending on the functionality,
call the original function to trigger a call to the underlying implementation.
The most simplistic implementation of a strategy method is to simply return a
UnaryOperator.identity() which happens to be the default implementation for all the
methods. By returning the identity function, the incoming original function is simply returned back
unchanged with no additional enhancements to the execution of it.| Modifier and Type | Method and Description |
|---|---|
default java.util.function.UnaryOperator<TriFunction<java.lang.String,Vertex,java.lang.Object[],Edge>> |
getAddEdgeStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
TriFunction that enhances the features of
Vertex.addEdge(String, com.tinkerpop.gremlin.structure.Vertex, Object...). |
default java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],Vertex>> |
getAddVertexStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Graph.addVertex(Object...). |
default <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String,Property<V>>> |
getEdgeGetPropertyStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Element.property(String). |
default java.util.function.UnaryOperator<java.util.function.Supplier<Graph>> |
getEdgeGraphStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.graph(). |
default java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Object>> |
getEdgeIdStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.id(). |
default <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<Property<V>>>> |
getEdgeIteratorsPropertyIteratorStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Edge.Iterators.propertyIterator(java.lang.String...). |
default <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<V>>> |
getEdgeIteratorsValueIteratorStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Element.Iterators.valueIterator(java.lang.String...). |
default java.util.function.UnaryOperator<java.util.function.Function<Direction,java.util.Iterator<Vertex>>> |
getEdgeIteratorsVertexIteratorStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Edge.Iterators.vertexIterator(com.tinkerpop.gremlin.structure.Direction). |
default java.util.function.UnaryOperator<java.util.function.Supplier<java.util.Set<java.lang.String>>> |
getEdgeKeysStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.keys(). |
default java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.String>> |
getEdgeLabelStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.label(). |
default <V> java.util.function.UnaryOperator<java.util.function.BiFunction<java.lang.String,V,Property<V>>> |
getEdgePropertyStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
BiFunction that enhances the features of Element.property(String, Object). |
default <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String,V>> |
getEdgeValueStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Element.value(String). |
default java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Void>> |
getGraphCloseStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of AutoCloseable.close(). |
default java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Edge,Edge>>> |
getGraphEStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Graph.E(java.lang.Object...). |
default java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],java.util.Iterator<Edge>>> |
getGraphIteratorsEdgeIteratorStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Graph.Iterators.edgeIterator(java.lang.Object...). |
default java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],java.util.Iterator<Vertex>>> |
getGraphIteratorsVertexIteratorStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Graph.Iterators.vertexIterator(java.lang.Object...). |
default java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Vertex,Vertex>>> |
getGraphVStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Graph.V(java.lang.Object...). |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.String>> |
getPropertyKeyStrategy(StrategyContext<StrategyProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Property.key(). |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<V>> |
getPropertyValueStrategy(StrategyContext<StrategyProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Property.value(). |
default java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Void>> |
getRemoveEdgeStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.remove(). |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Void>> |
getRemovePropertyStrategy(StrategyContext<StrategyProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Property.remove(). |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Void>> |
getRemoveVertexPropertyStrategy(StrategyContext<StrategyVertexProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Property.remove(). |
default java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Void>> |
getRemoveVertexStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.remove(). |
default java.util.function.UnaryOperator<java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.Object>>> |
getVariableAsMapStrategy(StrategyContext<StrategyVariables> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Graph.Variables.asMap(). |
default <R> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String,java.util.Optional<R>>> |
getVariableGetStrategy(StrategyContext<StrategyVariables> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Graph.Variables.get(String). |
default java.util.function.UnaryOperator<java.util.function.Supplier<java.util.Set<java.lang.String>>> |
getVariableKeysStrategy(StrategyContext<StrategyVariables> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Graph.Variables.keys(). |
default java.util.function.UnaryOperator<java.util.function.Consumer<java.lang.String>> |
getVariableRemoveStrategy(StrategyContext<StrategyVariables> ctx,
GraphStrategy composingStrategy)
Construct a
Consumer that enhances the features of Graph.Variables.remove(String). |
default java.util.function.UnaryOperator<java.util.function.BiConsumer<java.lang.String,java.lang.Object>> |
getVariableSetStrategy(StrategyContext<StrategyVariables> ctx,
GraphStrategy composingStrategy)
Construct a
BiConsumer that enhances the features of Graph.Variables.set(String, Object). |
default <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String,VertexProperty<V>>> |
getVertexGetPropertyStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Vertex.property(String). |
default java.util.function.UnaryOperator<java.util.function.Supplier<Graph>> |
getVertexGraphStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.graph(). |
default java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Object>> |
getVertexIdStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.id(). |
default java.util.function.UnaryOperator<java.util.function.BiFunction<Direction,java.lang.String[],java.util.Iterator<Edge>>> |
getVertexIteratorsEdgeIteratorStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
TriFunction that enhances the features of Vertex.Iterators.edgeIterator(com.tinkerpop.gremlin.structure.Direction, java.lang.String...). |
default <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<VertexProperty<V>>>> |
getVertexIteratorsPropertyIteratorStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Element.Iterators.propertyIterator(java.lang.String...). |
default <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<V>>> |
getVertexIteratorsValueIteratorStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Element.Iterators.valueIterator(java.lang.String...). |
default java.util.function.UnaryOperator<java.util.function.BiFunction<Direction,java.lang.String[],java.util.Iterator<Vertex>>> |
getVertexIteratorsVertexIteratorStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
TriFunction that enhances the features of Vertex.Iterators.vertexIterator(com.tinkerpop.gremlin.structure.Direction, java.lang.String...). |
default java.util.function.UnaryOperator<java.util.function.Supplier<java.util.Set<java.lang.String>>> |
getVertexKeysStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.keys(). |
default java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.String>> |
getVertexLabelStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.label(). |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<Vertex>> |
getVertexPropertyGetElementStrategy(StrategyContext<StrategyVertexProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of VertexProperty.element(). |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<Graph>> |
getVertexPropertyGraphStrategy(StrategyContext<StrategyVertexProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of VertexProperty.graph(). |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Object>> |
getVertexPropertyIdStrategy(StrategyContext<StrategyVertexProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.id(). |
default <V,U> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<Property<V>>>> |
getVertexPropertyIteratorsPropertyIteratorStrategy(StrategyContext<StrategyVertexProperty<U>> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of VertexProperty.Iterators.propertyIterator(java.lang.String...). |
default <V,U> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<V>>> |
getVertexPropertyIteratorsValueIteratorStrategy(StrategyContext<StrategyVertexProperty<U>> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Element.Iterators.valueIterator(java.lang.String...). |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.util.Set<java.lang.String>>> |
getVertexPropertyKeysStrategy(StrategyContext<StrategyVertexProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.keys(). |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.String>> |
getVertexPropertyKeyStrategy(StrategyContext<StrategyVertexProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Property.key(). |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.String>> |
getVertexPropertyLabelStrategy(StrategyContext<StrategyVertexProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of VertexProperty.label(). |
default <V,U> java.util.function.UnaryOperator<java.util.function.BiFunction<java.lang.String,V,Property<V>>> |
getVertexPropertyPropertyStrategy(StrategyContext<StrategyVertexProperty<U>> ctx,
GraphStrategy composingStrategy)
Construct a
BiFunction that enhances the features of Element.property(String, Object). |
default <V> java.util.function.UnaryOperator<java.util.function.BiFunction<java.lang.String,V,VertexProperty<V>>> |
getVertexPropertyStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
BiFunction that enhances the features of Vertex.property(String, Object). |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<V>> |
getVertexPropertyValueStrategy(StrategyContext<StrategyVertexProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Property.value(). |
default <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String,V>> |
getVertexValueStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Element.value(String). |
default java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],java.util.Iterator<Vertex>>> getGraphIteratorsVertexIteratorStrategy(StrategyContext<StrategyGraph> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Graph.Iterators.vertexIterator(java.lang.Object...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Graph.Iterators.vertexIterator(java.lang.Object...) signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],java.util.Iterator<Edge>>> getGraphIteratorsEdgeIteratorStrategy(StrategyContext<StrategyGraph> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Graph.Iterators.edgeIterator(java.lang.Object...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Graph.Iterators.edgeIterator(java.lang.Object...) signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<java.util.Set<java.lang.String>>> getVariableKeysStrategy(StrategyContext<StrategyVariables> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Graph.Variables.keys().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Graph.Variables.keys() signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.Object>>> getVariableAsMapStrategy(StrategyContext<StrategyVariables> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Graph.Variables.asMap().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Graph.Variables.asMap() signature
and returns an enhanced strategy Supplier with the same signaturedefault <R> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String,java.util.Optional<R>>> getVariableGetStrategy(StrategyContext<StrategyVariables> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Graph.Variables.get(String).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with Graph.Variables.get(String) signature
and returns an enhanced strategy Function with the same signaturedefault java.util.function.UnaryOperator<java.util.function.BiConsumer<java.lang.String,java.lang.Object>> getVariableSetStrategy(StrategyContext<StrategyVariables> ctx, GraphStrategy composingStrategy)
BiConsumer that enhances the features of Graph.Variables.set(String, Object).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a BiConsumer with Graph.Variables.set(String, Object) signature
and returns an enhanced strategy BiConsumer with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Consumer<java.lang.String>> getVariableRemoveStrategy(StrategyContext<StrategyVariables> ctx, GraphStrategy composingStrategy)
Consumer that enhances the features of Graph.Variables.remove(String).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Consumer with Graph.Variables.remove(String) signature
and returns an enhanced strategy BiConsumer with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],Vertex>> getAddVertexStrategy(StrategyContext<StrategyGraph> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Graph.addVertex(Object...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with Graph.addVertex(Object...) signature
and returns an enhanced strategy Function with the same signaturedefault java.util.function.UnaryOperator<TriFunction<java.lang.String,Vertex,java.lang.Object[],Edge>> getAddEdgeStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
TriFunction that enhances the features of
Vertex.addEdge(String, com.tinkerpop.gremlin.structure.Vertex, Object...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a TriFunction with
Vertex.addEdge(String, com.tinkerpop.gremlin.structure.Vertex, Object...) signature
and returns an enhanced strategy Function with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Void>> getRemoveEdgeStrategy(StrategyContext<StrategyEdge> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Element.remove().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.remove() signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Void>> getRemoveVertexStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Element.remove().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.remove() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Void>> getRemovePropertyStrategy(StrategyContext<StrategyProperty<V>> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Property.remove().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Property.remove() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Void>> getRemoveVertexPropertyStrategy(StrategyContext<StrategyVertexProperty<V>> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Property.remove().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Property.remove() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String,VertexProperty<V>>> getVertexGetPropertyStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Vertex.property(String).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Vertex.property(String) signature
and returns an enhanced strategy Function with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<java.util.Set<java.lang.String>>> getVertexKeysStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Element.keys().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.keys() signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.String>> getVertexLabelStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Element.label().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.label() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.BiFunction<java.lang.String,V,VertexProperty<V>>> getVertexPropertyStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
BiFunction that enhances the features of Vertex.property(String, Object).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a BiFunction with
Vertex.property(String, Object) signature
and returns an enhanced strategy BiFunction with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<VertexProperty<V>>>> getVertexIteratorsPropertyIteratorStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Element.Iterators.propertyIterator(java.lang.String...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Element.Iterators.propertyIterator(java.lang.String...) signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.BiFunction<Direction,java.lang.String[],java.util.Iterator<Vertex>>> getVertexIteratorsVertexIteratorStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
TriFunction that enhances the features of Vertex.Iterators.vertexIterator(com.tinkerpop.gremlin.structure.Direction, java.lang.String...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a BiFunction with
Vertex.Iterators.vertexIterator(com.tinkerpop.gremlin.structure.Direction, java.lang.String...) signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.BiFunction<Direction,java.lang.String[],java.util.Iterator<Edge>>> getVertexIteratorsEdgeIteratorStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
TriFunction that enhances the features of Vertex.Iterators.edgeIterator(com.tinkerpop.gremlin.structure.Direction, java.lang.String...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a BiFunction with
Vertex.Iterators.edgeIterator(com.tinkerpop.gremlin.structure.Direction, java.lang.String...) signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<V>>> getVertexIteratorsValueIteratorStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Element.Iterators.valueIterator(java.lang.String...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Element.Iterators.valueIterator(java.lang.String...) signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Object>> getVertexIdStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Element.id().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.id() signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<Graph>> getVertexGraphStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Element.graph().
Note that in this case, the Graph is StrategyGraph and this would be the expected
type to pass back out.ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.graph() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String,V>> getVertexValueStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Element.value(String).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Element.value(String) signature
and returns an enhanced strategy Function with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String,Property<V>>> getEdgeGetPropertyStrategy(StrategyContext<StrategyEdge> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Element.property(String).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Element.property(String) signature
and returns an enhanced strategy Function with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Function<Direction,java.util.Iterator<Vertex>>> getEdgeIteratorsVertexIteratorStrategy(StrategyContext<StrategyEdge> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Edge.Iterators.vertexIterator(com.tinkerpop.gremlin.structure.Direction).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Edge.Iterators.vertexIterator(com.tinkerpop.gremlin.structure.Direction) signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<V>>> getEdgeIteratorsValueIteratorStrategy(StrategyContext<StrategyEdge> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Element.Iterators.valueIterator(java.lang.String...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Element.Iterators.valueIterator(java.lang.String...) signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<Property<V>>>> getEdgeIteratorsPropertyIteratorStrategy(StrategyContext<StrategyEdge> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Edge.Iterators.propertyIterator(java.lang.String...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Edge.Iterators.propertyIterator(java.lang.String...) signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<java.util.Set<java.lang.String>>> getEdgeKeysStrategy(StrategyContext<StrategyEdge> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Element.keys().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.keys() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.BiFunction<java.lang.String,V,Property<V>>> getEdgePropertyStrategy(StrategyContext<StrategyEdge> ctx, GraphStrategy composingStrategy)
BiFunction that enhances the features of Element.property(String, Object).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a BiFunction with
Element.property(String, Object) signature
and returns an enhanced strategy BiFunction with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String,V>> getEdgeValueStrategy(StrategyContext<StrategyEdge> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Element.value(String).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Element.value(String) signature
and returns an enhanced strategy Function with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Object>> getEdgeIdStrategy(StrategyContext<StrategyEdge> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Element.id().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.id() signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<Graph>> getEdgeGraphStrategy(StrategyContext<StrategyEdge> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Element.graph().
Note that in this case, the Graph is StrategyGraph and this would be the expected
type to pass back out.ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.graph() signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.String>> getEdgeLabelStrategy(StrategyContext<StrategyEdge> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Element.label().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.label() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Object>> getVertexPropertyIdStrategy(StrategyContext<StrategyVertexProperty<V>> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Element.id().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.id() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Supplier<V>> getVertexPropertyValueStrategy(StrategyContext<StrategyVertexProperty<V>> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Property.value().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionSupplier that accepts a Supplier with
Property.value() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.String>> getVertexPropertyKeyStrategy(StrategyContext<StrategyVertexProperty<V>> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Property.key().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionSupplier that accepts a Supplier with
Property.key() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V,U> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<Property<V>>>> getVertexPropertyIteratorsPropertyIteratorStrategy(StrategyContext<StrategyVertexProperty<U>> ctx, GraphStrategy composingStrategy)
Function that enhances the features of VertexProperty.Iterators.propertyIterator(java.lang.String...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
VertexProperty.Iterators.propertyIterator(java.lang.String...) signature
and returns an enhanced strategy Supplier with the same signaturedefault <V,U> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<V>>> getVertexPropertyIteratorsValueIteratorStrategy(StrategyContext<StrategyVertexProperty<U>> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Element.Iterators.valueIterator(java.lang.String...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Element.Iterators.valueIterator(java.lang.String...) signature
and returns an enhanced strategy Supplier with the same signaturedefault <V,U> java.util.function.UnaryOperator<java.util.function.BiFunction<java.lang.String,V,Property<V>>> getVertexPropertyPropertyStrategy(StrategyContext<StrategyVertexProperty<U>> ctx, GraphStrategy composingStrategy)
BiFunction that enhances the features of Element.property(String, Object).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a BiFunction with
Element.property(String, Object) signature
and returns an enhanced strategy BiFunction with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Supplier<Graph>> getVertexPropertyGraphStrategy(StrategyContext<StrategyVertexProperty<V>> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of VertexProperty.graph().
Note that in this case, the Graph is StrategyGraph and this would be the expected
type to pass back out.ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
VertexProperty.graph() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.String>> getVertexPropertyLabelStrategy(StrategyContext<StrategyVertexProperty<V>> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of VertexProperty.label().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
VertexProperty.label() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.util.Set<java.lang.String>>> getVertexPropertyKeysStrategy(StrategyContext<StrategyVertexProperty<V>> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Element.keys().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.keys() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Supplier<Vertex>> getVertexPropertyGetElementStrategy(StrategyContext<StrategyVertexProperty<V>> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of VertexProperty.element().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Supplier with
VertexProperty.element() signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.Void>> getGraphCloseStrategy(StrategyContext<StrategyGraph> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of AutoCloseable.close().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionSupplier that accepts a Supplier with
AutoCloseable.close() signature
and returns an enhanced strategy Supplier with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Vertex,Vertex>>> getGraphVStrategy(StrategyContext<StrategyGraph> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Graph.V(java.lang.Object...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Graph.V(java.lang.Object...) signature
and returns an enhanced strategy Function with the same signaturedefault java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Edge,Edge>>> getGraphEStrategy(StrategyContext<StrategyGraph> ctx, GraphStrategy composingStrategy)
Function that enhances the features of Graph.E(java.lang.Object...).ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionFunction that accepts a Function with
Graph.E(java.lang.Object...) signature
and returns an enhanced strategy Function with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Supplier<V>> getPropertyValueStrategy(StrategyContext<StrategyProperty<V>> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Property.value().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionSupplier that accepts a Supplier with
Property.value() signature
and returns an enhanced strategy Supplier with the same signaturedefault <V> java.util.function.UnaryOperator<java.util.function.Supplier<java.lang.String>> getPropertyKeyStrategy(StrategyContext<StrategyProperty<V>> ctx, GraphStrategy composingStrategy)
Supplier that enhances the features of Property.key().ctx - the context within which this strategy function is calledcomposingStrategy - the strategy that composed this strategy functionSupplier that accepts a Supplier with
Property.key() signature
and returns an enhanced strategy Supplier with the same signatureCopyright © 2013-2015 TinkerPop. All Rights Reserved.