Class SSTableReader.Operator

  • Enclosing class:
    SSTableReader

    public abstract static class SSTableReader.Operator
    extends java.lang.Object
    TODO: Move someplace reusable
    • Constructor Detail

      • Operator

        public Operator()
    • Method Detail

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