Package com.tinkerpop.gremlin.neo4j.process.graph.step.sideEffect

Examples of com.tinkerpop.gremlin.neo4j.process.graph.step.sideEffect.Neo4jGraphStep


    @Override
    public Neo4jTraversal<Vertex, Vertex> V() {
        this.tx().readWrite();
        final Neo4jTraversal<Vertex, Vertex> traversal = new Neo4jGraphTraversal<>(this);
        traversal.addStep(new Neo4jGraphStep(traversal, Vertex.class, this));
        return traversal;
    }
View Full Code Here


    @Override
    public Neo4jTraversal<Edge, Edge> E() {
        this.tx().readWrite();
        final Neo4jTraversal<Edge, Edge> traversal = new Neo4jGraphTraversal<>(this);
        traversal.addStep(new Neo4jGraphStep(traversal, Edge.class, this));
        return traversal;
    }
View Full Code Here

    }

    @Override
    public void apply(final Traversal traversal, final TraversalEngine traversalEngine) {
        if (traversal.getSteps().get(0) instanceof Neo4jGraphStep) {
            final Neo4jGraphStep neo4jGraphStep = (Neo4jGraphStep) traversal.getSteps().get(0);
            Step currentStep = neo4jGraphStep.getNextStep();
            while (true) {
                if (currentStep == EmptyStep.instance() || TraversalHelper.isLabeled(currentStep)) break;

                if (currentStep instanceof HasStep) {
                    neo4jGraphStep.hasContainers.addAll(((HasStep) currentStep).getHasContainers());
View Full Code Here

TOP

Related Classes of com.tinkerpop.gremlin.neo4j.process.graph.step.sideEffect.Neo4jGraphStep

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.