Hello,

I am trying to read a vertex with one IN and one OUT edge through the 
binary protocol using SQL statement. I get way too many bytes in the 
response compared to v21 and cannot find in the docs what those bytes are.
Specifically:

*v21*
Request:
2014-09-24 19:07:12:702 INFO /127.0.0.1:23217 - Flush [OChannelBinaryServer]
2014-09-24 19:07:12:702 INFO /127.0.0.1:23217 - Reading byte (1 byte)... 
[OChannelBinaryServer]
2014-09-24 19:07:12:703 INFO /127.0.0.1:23217 - Read byte: 41 
[OChannelBinaryServer]
2014-09-24 19:07:12:703 INFO /127.0.0.1:23217 - Reading int (4 bytes)... 
[OChannelBinaryServer]
2014-09-24 19:07:12:703 INFO /127.0.0.1:23217 - Read int: 4 
[OChannelBinaryServer]
2014-09-24 19:07:12:704 INFO /127.0.0.1:23217 - Reading byte (1 byte)... 
[OChannelBinaryServer]
2014-09-24 19:07:12:704 INFO /127.0.0.1:23217 - Read byte: 97 
[OChannelBinaryServer]
2014-09-24 19:07:12:705 INFO /127.0.0.1:23217 - Reading chunk of bytes. 
Reading chunk length as int (4 bytes)... [OChannelBinaryServer]
2014-09-24 19:07:12:705 INFO /127.0.0.1:23217 - Read chunk lenght: 97 
[OChannelBinaryServer]
2014-09-24 19:07:12:705 INFO /127.0.0.1:23217 - Reading 97 bytes... 
[OChannelBinaryServer]
2014-09-24 19:07:12:705 INFO /127.0.0.1:23217 - Read 97 bytes:    
:com.orientechnologies.orient.core.sql.query.OSQLSynchQuery   ►SELECT FROM 
#9:1Ύ┐╜Ύ┐╜Ύ┐╜Ύ┐╜   ♥*:0     [OChannelBinaryServer]

Response:
2014-09-24 19:07:12:706 INFO /127.0.0.1:23217 - Writing byte (1 byte): 0 
[OChannelBinaryServer]
2014-09-24 19:07:12:706 INFO /127.0.0.1:23217 - Writing int (4 bytes): 4 
[OChannelBinaryServer]
2014-09-24 19:07:12:707 INFO /127.0.0.1:23217 - Writing byte (1 byte): 1 
[OChannelBinaryServer]
2014-09-24 19:07:12:707 INFO /127.0.0.1:23217 - Writing short (2 bytes): 0 
[OChannelBinaryServer]
2014-09-24 19:07:12:707 INFO /127.0.0.1:23217 - Writing byte (1 byte): 100 
[OChannelBinaryServer]
2014-09-24 19:07:12:707 INFO /127.0.0.1:23217 - Writing short (2 bytes): 9 
[OChannelBinaryServer]
2014-09-24 19:07:12:708 INFO /127.0.0.1:23217 - Writing cluster position (8 
bytes) : 1.... [OChannelBinaryServer]
2014-09-24 19:07:12:708 INFO /127.0.0.1:23217 - Writing int (4 bytes): 2 
[OChannelBinaryServer]
*2014-09-24 19:07:12:709 INFO /127.0.0.1:23217 - Writing bytes (4+45=49 
bytes): [86, 64, 70, 111, 111, 58, 34, 102, 111, 111, 32, 115, 116, 114, 
105, 110, 103, 32, 118, 97, 108, 117, 101, 50, 34, 44, 66, 97, 114, 58, 53, 
52, 51, 50, 49, 44, 105, 110, 95, 58, 35, 49, 48, 58, 48, 32, 32, 32, 32, 
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 
32, 32, 32] [OChannelBinaryServer]*

2014-09-24 19:07:12:710 INFO /127.0.0.1:23217 - Writing byte (1 byte): 0 
[OChannelBinaryServer]



*v25:*
Request:
2014-09-24 19:04:38:710 INFO /127.0.0.1:23067 - Reading byte (1 byte)... 
[OChannelBinaryServer]
2014-09-24 19:04:38:719 INFO /127.0.0.1:23067 - Read byte: 41 
[OChannelBinaryServer]
2014-09-24 19:04:38:719 INFO /127.0.0.1:23067 - Reading int (4 bytes)... 
[OChannelBinaryServer]
2014-09-24 19:04:38:719 INFO /127.0.0.1:23067 - Read int: 4 
[OChannelBinaryServer]
2014-09-24 19:04:38:720 INFO /127.0.0.1:23067 - Reading byte (1 byte)... 
[OChannelBinaryServer]
2014-09-24 19:04:38:720 INFO /127.0.0.1:23067 - Read byte: 97 
[OChannelBinaryServer]
2014-09-24 19:04:38:721 INFO /127.0.0.1:23067 - Reading chunk of bytes. 
Reading chunk length as int (4 bytes)... [OChannelBinaryServer]
2014-09-24 19:04:38:721 INFO /127.0.0.1:23067 - Read chunk lenght: 97 
[OChannelBinaryServer]
2014-09-24 19:04:38:721 INFO /127.0.0.1:23067 - Reading 97 bytes... 
[OChannelBinaryServer]
2014-09-24 19:04:38:721 INFO /127.0.0.1:23067 - Read 97 bytes:    
:com.orientechnologies.orient.core.sql.query.OSQLSynchQuery   ►SELECT FROM 
#9:0Ύ┐╜Ύ┐╜Ύ┐╜Ύ┐╜   ♥*:0     [OChannelBinaryServer]

Response:
2014-09-24 19:04:38:722 INFO /127.0.0.1:23067 - Writing byte (1 byte): 0 
[OChannelBinaryServer]
2014-09-24 19:04:38:723 INFO /127.0.0.1:23067 - Writing int (4 bytes): 4 
[OChannelBinaryServer]
2014-09-24 19:04:38:725 INFO /127.0.0.1:23067 - Writing byte (1 byte): 1 
[OChannelBinaryServer]
2014-09-24 19:04:38:725 INFO /127.0.0.1:23067 - Writing short (2 bytes): 0 
[OChannelBinaryServer]
2014-09-24 19:04:38:726 INFO /127.0.0.1:23067 - Writing byte (1 byte): 100 
[OChannelBinaryServer]
2014-09-24 19:04:38:726 INFO /127.0.0.1:23067 - Writing short (2 bytes): 9 
[OChannelBinaryServer]
2014-09-24 19:04:38:726 INFO /127.0.0.1:23067 - Writing cluster position (8 
bytes) : 0.... [OChannelBinaryServer]
2014-09-24 19:04:38:727 INFO /127.0.0.1:23067 - Writing int (4 bytes): 2 
[OChannelBinaryServer]
*2014-09-24 19:04:38:730 INFO /127.0.0.1:23067 - Writing bytes (4+126=130 
bytes): [86, 64, 70, 111, 111, 58, 34, 102, 111, 111, 32, 115, 116, 114, 
105, 110, 103, 32, 118, 97, 108, 117, 101, 49, 34, 44, 66, 97, 114, 58, 49, 
50, 51, 52, 53, 44, 111, 117, 116, 95, 58, 37, 65, 81, 65, 65, 65, 65, 69, 
65, 67, 103, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 59, 32, 32, 32, 32, 
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 
32, 32] [OChannelBinaryServer]*
2014-09-24 19:04:38:731 INFO /127.0.0.1:23067 - Writing byte (1 byte): 0 
[OChannelBinaryServer]

-- 

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