OrientGraphFactory factory = new OrientGraphFactory("plocal:/dat/odb/orientdb-community-1.7-rc2-SNAPSHOT/databases/"+dbn,"admin","admin").setupPool(1, 10);
factory.getTx().getRawGraph().declareIntent(new OIntentMassiveInsert());
OrientGraph graph = factory.getTx();
OIndex<?> ptidIdx = graph.getRawGraph().getMetadata().getIndexManager().getIndex("idxptid");
Iterator<Map.Entry<ORID,ODocument>> iter = ptidIdx.iterator();
while (iter.hasNext()) {
Map.Entry<ORID,ODocument> tm = iter.next();
System.out.println("\n"+tm+"");
}--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/tWad9-hRLrg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.