And when i never ever want to use SQL? ;) Ofcourse it would be an easy solution but i dont want to break my design rules.
I could do this: 1. Select all vertices of the vertex type 2. Iterate over the vertices 3. Get all properties of each vertex and store it in a list 4. return the list But it seems to me to be kinda oversized to just get all elements of an index. Am Dienstag, 10. Juni 2014 10:13:41 UTC+2 schrieb Artem Orobets: > > Hi Montrazul, > > The simplest way is to use SQL: > > SELECT key FROM index:IndexName > > > Best regards, > Artem Orobets > > * Orient Technologiesthe Company behind OrientDB* > > > 2014-06-10 10:28 GMT+03:00 Montrazul <[email protected] > <javascript:>>: > >> Hi, >> >> i have two different indices on my vertextype for two different >> properties. >> I found the method: >> >> graph.getIndexedKeys(elementClass) >> >> Is there a possibility to get all elements of the index i specify? >> With this method i get all indexedKeys but i just want to get the >> indexedKeys of one index not of both. >> >> -- >> >> --- >> 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 [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
