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

Lewis John McGibbney updated GORA-81:
-------------------------------------

    Fix Version/s:     (was: 0.3)
                   0.2.1
    
> 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.2.1
>
>
> 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

        

Reply via email to