Class SSTableReader.Operator
java.lang.Object
org.apache.cassandra.io.sstable.format.SSTableReader.Operator
- Enclosing class:
- SSTableReader
TODO: Move someplace reusable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SSTableReader.Operatorstatic final SSTableReader.Operatorstatic final SSTableReader.Operator -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EQ
-
GE
-
GT
-
-
Constructor Details
-
Operator
public Operator()
-
-
Method Details
-
apply
public abstract int apply(int comparison) - Parameters:
comparison- The result of a call to compare/compareTo, with the desired field on the rhs.- Returns:
- less than 0 if the operator cannot match forward, 0 if it matches, greater than 0 if it might match forward.
-