Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-2231

Add CompositeType comparer to the comparers provided in org.apache.cassandra.db.marshal

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.8.1
    • None
    • None

    Description

      CompositeType is a custom comparer that makes it possible to create comparable composite values out of the basic types that Cassandra currently supports, such as Long, UUID, etc. This is very useful in both the creation of custom inverted indexes using columns in a skinny row, where each column name is a composite value, and also when using Cassandra's built-in secondary index support, where it can be used to encode the values in the columns that Cassandra indexes. One scenario for the usage of these is documented here: http://www.anuff.com/2010/07/secondary-indexes-in-cassandra.html. Source for contribution is attached and has been previously maintained on github here: https://github.com/edanuff/CassandraCompositeType

      Attachments

        Issue Links

          Activity

            People

              slebresne Sylvain Lebresne
              edanuff Ed Anuff
              Sylvain Lebresne
              Ed Anuff
              Votes:
              10 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: