Package com.tinkerpop.gremlin.neo4j.structure

Examples of com.tinkerpop.gremlin.neo4j.structure.Neo4jVertex


        return this.iterator.next().entrySet().stream().collect(Collectors.toMap(
                Map.Entry::getKey,
                entry -> {
                    final T val = entry.getValue();
                    if (Node.class.isAssignableFrom(val.getClass())) {
                        return (T) new Neo4jVertex((Node) val, this.graph);
                    } else if (Relationship.class.isAssignableFrom(val.getClass())) {
                        return (T) new Neo4jEdge((Relationship) val, this.graph);
                    } else {
                        return val;
                    }
View Full Code Here

TOP

Related Classes of com.tinkerpop.gremlin.neo4j.structure.Neo4jVertex

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.