gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GORA-81) Replace CassandraStore#addOrUpdateField with TypeInferringSerializer to take advantage of when the value is already of type ByteBuffer.
Date Fri, 01 Jun 2012 13:26:23 GMT

     [ https://issues.apache.org/jira/browse/GORA-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lewis John McGibbney resolved GORA-81.
--------------------------------------

    Resolution: Fixed

Committed @revision 1345164 in trunk
Thanks for the patch Kazuomi great work.
                
> Replace CassandraStore#addOrUpdateField with TypeInferringSerializer to take advantage
of when the value is already of type ByteBuffer.
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GORA-81
>                 URL: https://issues.apache.org/jira/browse/GORA-81
>             Project: Apache Gora
>          Issue Type: Sub-task
>          Components: storage-cassandra
>            Reporter: Lewis John McGibbney
>             Fix For: 0.3
>
>
> Currently CassandraStore#addOrUpdateField contains a switch statement to evaluate different
types of column values but in the end the cassandraClient object ends up converting to the
value to type string anyway. The TypeInferringSerializer [1] can be used instead in order
to take advantage of when the value is already of type ByteBuffer.
> [1] https://github.com/rantav/hector/blob/master/core/src/main/java/me/prettyprint/cassandra/serializers/TypeInferringSerializer.java

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

        

Mime
View raw message