Interface Bound<TCoordinateArray,TPoint extends ImmutableNode<TCoordinateArray>>

All Known Implementing Classes:
PolygonBound, RadiusBound, RectangularBound

@SubclassesMustOverrideEqualsAndHashCode public interface Bound<TCoordinateArray,TPoint extends ImmutableNode<TCoordinateArray>>
  • Method Details

    • getLimit

      int getLimit()
    • getNumDims

      int getNumDims()
    • overlaps

      boolean overlaps(ImmutableNode<TCoordinateArray> node)
    • contains

      boolean contains(TCoordinateArray coords)
    • containsObj

      boolean containsObj(@Nullable Object input)
      containsObj is mainly used to create object matechers on top custom/extensible spatial column, it receives it as object and corresponding implementations need to logic to unpack the objects and invoke contains
      Parameters:
      input - Takes an object spatial column as input
      Returns:
      boolean value if it falls within given bound
    • filter

      Iterable<TPoint> filter(Iterable<TPoint> points)
    • getCacheKey

      byte[] getCacheKey()