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

Unify Partitioners and AbstractTypes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Later
    • None
    • None
    • None

    Description

      There is no good reason for Partitioners to have different semantics than AbstractTypes. Instead, we should probably have 2 partitioners: Random and Ordered, where the Ordered partitioner requires an AbstractType to be specified, defaulting to BytesType.

      One solution suggested by jbellis is to have AbstractType generate a collation id (essentially, a Token) for a set of bytes.

      Looking forward, we should probably consider laying the groundwork to add native support for compound row keys here as well.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stuhood Stu Hood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: