Details
-
New Feature
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
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.
Attachments
Attachments
Issue Links
- is depended upon by
-
CASSANDRA-2231 Add CompositeType comparer to the comparers provided in org.apache.cassandra.db.marshal
- Resolved