oh well, I don't think such a feature is available by default.
If you really need a List you'll have to iterate the Iterator to fill it.


Il giorno martedì 19 aprile 2016 19:24:53 UTC+2, K Major ha scritto:
>
> Yes, in java.
>
> I can iterate through all the nodes and then create a list from it but 
> that would be not really efficient.
>
> I was wondering if there is a way/fonction that directly gives me a list 
> or even hashmap containing all the columns ?
>
> Le mardi 19 avril 2016 17:06:44 UTC+2, Ivan Mainetti a écrit :
>>
>> Hi,
>>
>> you mean in studio, console, java or what?
>> Seeing your question I think you're using java, so you need a method to 
>> convert the Iterable object into a List, is it correct?
>>
>>
>>
>> Il giorno martedì 19 aprile 2016 16:32:39 UTC+2, K Major ha scritto:
>>>
>>> Indeed, I changed from 2.1.11 to 2.1.15 and it fixed the problem, thanks 
>>>> !
>>>>
>>>
>>>
>>> One small question : is it possible to retrieve the result of a query in 
>>> the form of list and not nodes containing the result ? 
>>>
>>

-- 

--- 
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-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to