Hello,

I am continuing to work on the ogonori Go (golang) driver for OrientDB 2.x 
supporting the network binary protocol.

Currently, I am working on support for RidBags (LinkBags), in particular 
the REQUEST_SBTREE_BONSAI_GET_ENTRIES_MAJOR command.

I have two questions:

*== Q1 ==*

The serialized data that comes back is of the form:

(---Count---)  (-------------RID------------)  (---int---)    
(-------------RID------------)  (---int---)
[0, 0, 0, 89,  0, 13, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0, 1,   0, 13, 0, 0, 
0, 0, 0, 0, 0, 5,  0, 0, 0, 1,   ... etc ...

where the first int indicates the number of Links returned (89 in this 
case), followed by that many key-value pairs.  The key is a Serialized RID 
(ClusterID:short)(ClusterPos:long) and the value an integer with some (to 
me) unknown meaning.  For the simple test cases I've tested the value 
integer is always 1.  What is this value indicating?  Is it the number of 
times this RID occurs in the LinkBag?  Is it possible for a Vertex to have 
the same link more than once?  Can you provide a use case where it would 
not be 1?




*== Q2 ==*
One of the params specified in the REQUEST_SBTREE_BONSAI_GET_ENTRIES_MAJOR 
command is a boolean "inclusive".  For my simple cases, I've tried both 
false and true for this param and I get the same results.  What is this 
param specifying?  What is a use case where "true" would return something 
different than "false"?


Thank you,
Michael Peterson

-- 

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