Search in sources :

Example 1 with UniGraphRepeatStepStrategy

use of org.unipop.process.repeat.UniGraphRepeatStepStrategy in project unipop by unipop-graph.

the class StandardStrategyProvider method get.

@Override
public TraversalStrategies get() {
    DefaultTraversalStrategies traversalStrategies = new DefaultTraversalStrategies();
    traversalStrategies.addStrategies(new UniGraphStepStrategy(), new UniGraphVertexStepStrategy(), new EdgeStepsStrategy(), new UniGraphPropertiesStrategy(), new UniGraphCoalesceStepStrategy(), new UniGraphWhereStepStrategy(), new UniGraphRepeatStepStrategy(), new UniGraphOrderStrategy());
    TraversalStrategies.GlobalCache.getStrategies(Graph.class).toList().forEach(traversalStrategies::addStrategies);
    return traversalStrategies;
}
Also used : UniGraphStepStrategy(org.unipop.process.graph.UniGraphStepStrategy) UniGraphCoalesceStepStrategy(org.unipop.process.coalesce.UniGraphCoalesceStepStrategy) UniGraphPropertiesStrategy(org.unipop.process.properties.UniGraphPropertiesStrategy) EdgeStepsStrategy(org.unipop.process.edge.EdgeStepsStrategy) UniGraphRepeatStepStrategy(org.unipop.process.repeat.UniGraphRepeatStepStrategy) UniGraphVertexStepStrategy(org.unipop.process.vertex.UniGraphVertexStepStrategy) UniGraphOrderStrategy(org.unipop.process.order.UniGraphOrderStrategy) DefaultTraversalStrategies(org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversalStrategies) UniGraphWhereStepStrategy(org.unipop.process.where.UniGraphWhereStepStrategy)

Aggregations

DefaultTraversalStrategies (org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversalStrategies)1 UniGraphCoalesceStepStrategy (org.unipop.process.coalesce.UniGraphCoalesceStepStrategy)1 EdgeStepsStrategy (org.unipop.process.edge.EdgeStepsStrategy)1 UniGraphStepStrategy (org.unipop.process.graph.UniGraphStepStrategy)1 UniGraphOrderStrategy (org.unipop.process.order.UniGraphOrderStrategy)1 UniGraphPropertiesStrategy (org.unipop.process.properties.UniGraphPropertiesStrategy)1 UniGraphRepeatStepStrategy (org.unipop.process.repeat.UniGraphRepeatStepStrategy)1 UniGraphVertexStepStrategy (org.unipop.process.vertex.UniGraphVertexStepStrategy)1 UniGraphWhereStepStrategy (org.unipop.process.where.UniGraphWhereStepStrategy)1