Examples of breadthFirst()


Examples of org.neo4j.graphdb.traversal.TraversalDescription.breadthFirst()

    {
        TraversalDescription description = BASE_DESCRIPTION;
        switch ( order )
        {
        case BREADTH_FIRST:
            description = description.breadthFirst();
            break;
        case DEPTH_FIRST:
            description = description.depthFirst();
            break;
View Full Code Here

Examples of org.neo4j.graphdb.traversal.TraversalDescription.breadthFirst()

            return nodes;
        }
        try
        {
            TraversalDescription description = gsm.isRemote() ? RestTraversal.description().maxDepth( depth ) : Traversal.description().evaluator( Evaluators.toDepth( depth ) );
            description.breadthFirst().evaluator( Evaluators.all() );
            relTypes.clear();
            for ( DirectedRelationship directedRel : directedRels )
            {
                Direction d = directedRel.hasDirection() ?  directedRel.getDirection() : Direction.BOTH;
                description.relationships( directedRel.getRelType(), d );
View Full Code Here

Examples of org.neo4j.rest.graphdb.traversal.RestTraversal.breadthFirst()

        Stack<Object[]> entries = calcRels(rels);

        RestTraversal rt = new RestTraversal();
        switch (order) {
            case BREADTH_FIRST:
                rt.breadthFirst();
                break;
            case DEPTH_FIRST:
                rt.depthFirst();
                break;
        }
View Full Code Here

Examples of org.objectstyle.wolips.eomodeler.core.model.EOEntityForest.breadthFirst()

    } else {
      generateEntities = entities;
    }
    EOEntityForest entityForest = new EOEntityForest();
    entityForest.add(generateEntities);
    generateEntities = entityForest.breadthFirst();

    VelocityEngine velocityEngine = WOLipsVelocityUtils.createVelocityEngine("EOGenerator", Activator.getDefault().getBundle(), null, null, true, ResourceLoader.class);
    VelocityContext context = new VelocityContext();

    List<String> entityMigrations = new LinkedList<String>();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.