Class RangeTermTree.Term
- java.lang.Object
-
- org.apache.cassandra.index.sasi.conf.view.RangeTermTree.Term
-
- All Implemented Interfaces:
java.lang.Comparable<RangeTermTree.Term>
- Enclosing class:
- RangeTermTree
protected static class RangeTermTree.Term extends java.lang.Object implements java.lang.Comparable<RangeTermTree.Term>
This is required since IntervalTree doesn't support custom Comparator implementations and relied on items to be comparable which "raw" terms are not.
-
-
Constructor Summary
Constructors Constructor Description Term(java.nio.ByteBuffer term, AbstractType<?> comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(RangeTermTree.Term o)
-
-
-
Constructor Detail
-
Term
public Term(java.nio.ByteBuffer term, AbstractType<?> comparator)
-
-
Method Detail
-
compareTo
public int compareTo(RangeTermTree.Term o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<RangeTermTree.Term>
-
-