Hi Erik,

The query is executed synchronously. The result is returned as soon as all
the result set is available.

With the new API (v 3.0) the queries are still synchronous, but the result
set is paginated, so the first results are returned as soon as they are
available

Thanks

Luigi


2018-05-16 21:43 GMT+02:00 Erik T <erik.shi...@gmail.com>:

> For this code
>
> OCommandSQL preparedQuery = new OCommandSQL(query);
> OrientBaseGraph graph = (OrientBaseGraph) getGraph().getBaseGraph();
> return AccessController.doPrivileged((PrivilegedAction<Object>) () -> 
> graph.command(preparedQuery).execute(stationNames));
>
>
> Is preparedQuery executed synchronously or asynchronously?
>
> --
>
> ---
> 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.
>

-- 

--- 
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