public class ComputerDataStrategy extends java.lang.Object implements GraphStrategy
| Constructor and Description |
|---|
ComputerDataStrategy(java.util.Set<java.lang.String> elementComputeKeys) |
| Modifier and Type | Method and Description |
|---|---|
<V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<VertexProperty<V>>>> |
getVertexIteratorsPropertyIteratorStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy strategyComposer)
Construct a
Function that enhances the features of Element.Iterators.propertyIterator(java.lang.String...). |
<V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<V>>> |
getVertexIteratorsValueIteratorStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy strategyComposer)
Construct a
Function that enhances the features of Element.Iterators.valueIterator(java.lang.String...). |
java.util.function.UnaryOperator<java.util.function.Supplier<java.util.Set<java.lang.String>>> |
getVertexKeysStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy strategyComposer)
Construct a
Supplier that enhances the features of Element.keys(). |
java.lang.String |
toString() |
static StrategyGraph |
wrapGraph(Graph graph,
VertexProgram<?> vertexProgram) |
static StrategyVertex |
wrapVertex(Vertex vertex,
VertexProgram<?> vertexProgram) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAddEdgeStrategy, getAddVertexStrategy, getEdgeGetPropertyStrategy, getEdgeGraphStrategy, getEdgeIdStrategy, getEdgeIteratorsPropertyIteratorStrategy, getEdgeIteratorsValueIteratorStrategy, getEdgeIteratorsVertexIteratorStrategy, getEdgeKeysStrategy, getEdgeLabelStrategy, getEdgePropertyStrategy, getEdgeValueStrategy, getGraphCloseStrategy, getGraphEStrategy, getGraphIteratorsEdgeIteratorStrategy, getGraphIteratorsVertexIteratorStrategy, getGraphVStrategy, getPropertyKeyStrategy, getPropertyValueStrategy, getRemoveEdgeStrategy, getRemovePropertyStrategy, getRemoveVertexPropertyStrategy, getRemoveVertexStrategy, getVariableAsMapStrategy, getVariableGetStrategy, getVariableKeysStrategy, getVariableRemoveStrategy, getVariableSetStrategy, getVertexGetPropertyStrategy, getVertexGraphStrategy, getVertexIdStrategy, getVertexIteratorsEdgeIteratorStrategy, getVertexIteratorsVertexIteratorStrategy, getVertexLabelStrategy, getVertexPropertyGetElementStrategy, getVertexPropertyGraphStrategy, getVertexPropertyIdStrategy, getVertexPropertyIteratorsPropertyIteratorStrategy, getVertexPropertyIteratorsValueIteratorStrategy, getVertexPropertyKeysStrategy, getVertexPropertyKeyStrategy, getVertexPropertyLabelStrategy, getVertexPropertyPropertyStrategy, getVertexPropertyStrategy, getVertexPropertyValueStrategy, getVertexValueStrategypublic ComputerDataStrategy(java.util.Set<java.lang.String> elementComputeKeys)
public <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<VertexProperty<V>>>> getVertexIteratorsPropertyIteratorStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy strategyComposer)
GraphStrategyFunction that enhances the features of Element.Iterators.propertyIterator(java.lang.String...).getVertexIteratorsPropertyIteratorStrategy in interface GraphStrategyctx - the context within which this strategy function is calledstrategyComposer - 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 signaturepublic <V> java.util.function.UnaryOperator<java.util.function.Function<java.lang.String[],java.util.Iterator<V>>> getVertexIteratorsValueIteratorStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy strategyComposer)
GraphStrategyFunction that enhances the features of Element.Iterators.valueIterator(java.lang.String...).getVertexIteratorsValueIteratorStrategy in interface GraphStrategyctx - the context within which this strategy function is calledstrategyComposer - 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 signaturepublic java.util.function.UnaryOperator<java.util.function.Supplier<java.util.Set<java.lang.String>>> getVertexKeysStrategy(StrategyContext<StrategyVertex> ctx, GraphStrategy strategyComposer)
GraphStrategySupplier that enhances the features of Element.keys().getVertexKeysStrategy in interface GraphStrategyctx - the context within which this strategy function is calledstrategyComposer - the strategy that composed this strategy functionFunction that accepts a Supplier with
Element.keys() signature
and returns an enhanced strategy Supplier with the same signaturepublic java.lang.String toString()
toString in class java.lang.Objectpublic static StrategyGraph wrapGraph(Graph graph, VertexProgram<?> vertexProgram)
public static StrategyVertex wrapVertex(Vertex vertex, VertexProgram<?> vertexProgram)
Copyright © 2013-2015 TinkerPop. All Rights Reserved.