Class SSTableReader.Operator

java.lang.Object
org.apache.cassandra.io.sstable.format.SSTableReader.Operator
Enclosing class:
SSTableReader

public abstract static class SSTableReader.Operator extends Object
TODO: Move someplace reusable
  • Field Details

  • 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.