Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 0.8.1
    • Component/s: Core
    • Labels:
      None

      Description

      Being able to provide arguments to a comparator, to parametrize its behavior, can be useful.
      For example, a generic ReverseComparator is trivial to write, but without the ability to provide arguments at the comparator constriction, it cannot be used.
      CASSANDRA-2231 provides another use case for this.

      This ticket proposes to introduce a parser for comparator definition that supports optional parameters and to introduce a generic ReverseType as a simple example of this.

        Issue Links

          Activity

          Sylvain Lebresne created issue -
          Sylvain Lebresne made changes -
          Field Original Value New Value
          Description Being able to provide arguments to a comparator, to parametrize its behavior, can be useful.
          For example, a generic ReverseComparator is trivial to write, but without the ability to provide arguments at the comparator constriction, it cannot be used.
          CASSANDRA-2231 provides another use case for this.

          This ticket proposes to introduce a parser for comparator definition that supports optional parameters and to introduce a generic ReverseType as a simple example of this.
          Summary Have an easy way to define the reverse comparator of any comparator Allow parameters for comparator
          Fix Version/s 0.7.5 [ 12316288 ]
          Sylvain Lebresne made changes -
          Sylvain Lebresne made changes -
          Link This issue blocks CASSANDRA-2231 [ CASSANDRA-2231 ]
          Sylvain Lebresne made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Jonathan Ellis made changes -
          Fix Version/s 0.8 [ 12314820 ]
          Fix Version/s 0.7.5 [ 12316288 ]
          Jonathan Ellis made changes -
          Fix Version/s 1.0 [ 12316349 ]
          Fix Version/s 0.8 [ 12314820 ]
          Sylvain Lebresne made changes -
          Sylvain Lebresne made changes -
          Fix Version/s 0.8 [ 12314820 ]
          Fix Version/s 1.0 [ 12316349 ]
          Sylvain Lebresne made changes -
          Issue Type Improvement [ 4 ] New Feature [ 2 ]
          Fix Version/s 0.8.1 [ 12316368 ]
          Fix Version/s 0.8 [ 12314820 ]
          Sylvain Lebresne made changes -
          Sylvain Lebresne made changes -
          Sylvain Lebresne made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Reviewer jbellis
          Resolution Fixed [ 1 ]
          Gavin made changes -
          Workflow no-reopen-closed, patch-avail [ 12608062 ] patch-available, re-open possible [ 12751363 ]
          Gavin made changes -
          Workflow patch-available, re-open possible [ 12751363 ] reopen-resolved, no closed status, patch-avail, testing [ 12754892 ]
          Gavin made changes -
          Link This issue blocks CASSANDRA-2231 [ CASSANDRA-2231 ]
          Gavin made changes -
          Link This issue is depended upon by CASSANDRA-2231 [ CASSANDRA-2231 ]

            People

            • Assignee:
              Sylvain Lebresne
              Reporter:
              Sylvain Lebresne
              Reviewer:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development