Artem, do you mean to create a bug/enhancement regarding optimization of 
GremlinPipeline?

On Friday, 11 July 2014 17:07:26 UTC+1, Artem Orobets wrote:
>
> Hi Andrey,
>
> You are right, unfortunately there is no any optimization for gremlin.
>
> Could you create an issue for this bug?
>
> Best regards,
> Artem Orobets
>
> * Orient Technologiesthe Company behind OrientDB*
>  
>
> 2014-07-11 2:17 GMT+03:00 Andrey Kovalev <[email protected] <javascript:>>:
>
>> First of all I've already tried to google for a solution but without any 
>> luck.
>> I have a simple relation: User->owns->Group. I want to check that a 
>> particular group really belongs to a particular user.
>> I am trying to run this query:
>>
>> final Vertex groupVx = database.getVertex(groupId);
>> long count = groupVx.query().direction(Direction.IN).labels("owns").
>> labels("User").has("@rid", userId);
>>
>>
>>    1. The query above fails, because User is not an edge. Is it possible 
>>    to fix the query above to get a desired result using Blueprints?
>>    2. Am I right that GremlinPipeline is implemented by Tinkerpop and 
>>    all queries are done in-memory without using native query syntax of 
>>    OrientDB? 
>>
>>
>>
>>  -- 
>>
>> --- 
>> 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.

Reply via email to