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

Ben McCann commented on CASSANDRA-3281:
---------------------------------------

BigTable has built-in support for Protocol Buffer, which is really nice because 
you can do things like store a serialized document in a compact manner and then 
search for it using something like CQL.  I'm really having a hard time with 
Cassandra because if I store Thrift/Protobuf/JSON it's completely opaque.  It's 
really not clear to me at the moment what the best practice for storing complex 
hierarchies in Cassandra is.  I think AnyType might be a bit too much, but 
built-in support for Thrift would be nice.
                
> Add an AbstractType anytype which stores meta data on a per column basis
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3281
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3281
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Edward Capriolo
>            Priority: Minor
>
> A pet project of mine is an AbstractType for Cassandra that stores metadata 
> of the type in the column. https://github.com/edwardcapriolo/Cassandra-AnyType
> I described my use case any my design decisions here. 
> https://github.com/edwardcapriolo/Cassandra-AnyType/blob/master/README . The 
> biggest cases were needing to support null and '' as keys, column names, and 
> column values, however I also think the technique used to serialize Java 
> Objects as JSON but compare as a Java object is novel. 
> Side node: (The AbstractType interface has changed multiple times between 
> 0.6.X, 0.7.X, and 1.0.0-beta. I hope it stabilizes! ) 
> If people would like AnyType (or parts of it ) incorporated into Cassandra 
> that would be great. I am willing to tweak change it based on other peoples 
> ideas.

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

        

Reply via email to