Package com.tinkerpop.blueprints.impls.orient

Examples of com.tinkerpop.blueprints.impls.orient.OrientGraph.query()


    OrientGraph db = new OrientGraph("memory:temp", "admin", "admin");
    Iterable<Vertex> vs = db.getVertices();
    for (Vertex v : vs) {
      System.out.println("GOT VERTEX: " + v);
    }
    Iterable<Vertex> rcs = ((OrientGraphQuery) db.query()).labels("rawCategory").vertices();
    if (!rcs.iterator().hasNext())
      System.out.println("??? Where are the rawCategory vertices?");
    else {
      for (Vertex rc : rcs) {
        System.out.println("GOT RC: " + rc);
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.