Interface MultiRangeQuery.Relatable

All Known Subinterfaces:
MultiRangeQuery.Range
All Known Implementing Classes:
MultiRangeQuery.RangeTree
Enclosing class:
MultiRangeQuery

private static interface MultiRangeQuery.Relatable
Represents a range that can compute its relation with another range and can compute if a point is inside it
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(byte[] packedValue)
    return true if the provided point is inside the range
    relate(byte[] minPackedValue, byte[] maxPackedValue)
    return the relation between this range and the provided range
  • Method Details

    • matches

      boolean matches(byte[] packedValue)
      return true if the provided point is inside the range
    • relate

      PointValues.Relation relate(byte[] minPackedValue, byte[] maxPackedValue)
      return the relation between this range and the provided range