Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-78 Umbrella parent issue for Hector usage
  3. GORA-81

Replace CassandraStore#addOrUpdateField with TypeInferringSerializer to take advantage of when the value is already of type ByteBuffer.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.2.1
    • gora-cassandra
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lewismc Lewis John McGibbney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: