You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2012/08/06 17:22:02 UTC

[jira] [Commented] (CASSANDRA-4453) Better support of collections in the binary protocol

    [ https://issues.apache.org/jira/browse/CASSANDRA-4453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429190#comment-13429190 ] 

Jonathan Ellis commented on CASSANDRA-4453:
-------------------------------------------

Can you summarize the encoding design?  In particular where is the type information included?
                
> Better support of collections in the binary protocol
> ----------------------------------------------------
>
>                 Key: CASSANDRA-4453
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4453
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 1.2
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: 0001-Adds-generics-to-collection-types.txt, 0002-Support-collections-natively-in-the-binary-protocol.txt
>
>
> Currently, collections results are serialized to json string and send that way. This doesn't feel right at all for the binary protocol and we should use a simple binary serialization of the collection instead.
> For the thrift protocol, we might want to keep the json serialization or use the same binary serialization. I don't really have much opinion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira