Interface SpatialCriteriaBuilder<T>

    • Method Detail

      • eq

        Predicate eq​(Expression<? extends T> geometry1,
                     Expression<? extends T> geometry2)
        Create a predicate for testing the arguments for "spatially equal" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry expression
        Returns:
        "spatially equal" predicate
      • eq

        Predicate eq​(Expression<? extends T> geometry1,
                     T geometry2)
        Create a predicate for testing the arguments for "spatially equal" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry value
        Returns:
        "spatially equal" predicate
        See Also:
        eq(Expression, Expression)
      • within

        Predicate within​(Expression<? extends T> geometry1,
                         Expression<? extends T> geometry2)
        Create a predicate for testing the arguments for "spatially within" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry expression
        Returns:
        "spatially within" predicate
      • within

        Predicate within​(Expression<? extends T> geometry1,
                         T geometry2)
        Create a predicate for testing the arguments for "spatially within" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry value
        Returns:
        "spatially within" predicate
        See Also:
        within(Expression, Expression)
      • contains

        Predicate contains​(Expression<? extends T> geometry1,
                           Expression<? extends T> geometry2)
        Create a predicate for testing the arguments for "spatially contains" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry expression
        Returns:
        "spatially contains" predicate
      • contains

        Predicate contains​(Expression<? extends T> geometry1,
                           T geometry2)
        Create a predicate for testing the arguments for "spatially contains" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry value
        Returns:
        "spatially contains" predicate
        See Also:
        contains(Expression, Expression)
      • crosses

        Predicate crosses​(Expression<? extends T> geometry1,
                          Expression<? extends T> geometry2)
        Create a predicate for testing the arguments for "spatially crosses" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry expression
        Returns:
        "spatially crosses" predicate
      • crosses

        Predicate crosses​(Expression<? extends T> geometry1,
                          T geometry2)
        Create a predicate for testing the arguments for "spatially crosses" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry value
        Returns:
        "spatially crosses" predicate
        See Also:
        crosses(Expression, Expression)
      • disjoint

        Predicate disjoint​(Expression<? extends T> geometry1,
                           Expression<? extends T> geometry2)
        Create a predicate for testing the arguments for "spatially disjoint" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry expression
        Returns:
        "spatially disjoint" predicate
      • disjoint

        Predicate disjoint​(Expression<? extends T> geometry1,
                           T geometry2)
        Create a predicate for testing the arguments for "spatially disjoint" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry value
        Returns:
        "spatially disjoint" predicate
        See Also:
        disjoint(Expression, Expression)
      • intersects

        Predicate intersects​(Expression<? extends T> geometry1,
                             Expression<? extends T> geometry2)
        Create a predicate for testing the arguments for "spatially intersects" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry expression
        Returns:
        "spatially intersects" predicate
      • intersects

        Predicate intersects​(Expression<? extends T> geometry1,
                             T geometry2)
        Create a predicate for testing the arguments for "spatially intersects" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry value
        Returns:
        "spatially intersects" predicate
        See Also:
        intersects(Expression, Expression)
      • overlaps

        Predicate overlaps​(Expression<? extends T> geometry1,
                           Expression<? extends T> geometry2)
        Create a predicate for testing the arguments for "spatially overlaps" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry expression
        Returns:
        "spatially overlaps" predicate
      • overlaps

        Predicate overlaps​(Expression<? extends T> geometry1,
                           T geometry2)
        Create a predicate for testing the arguments for "spatially overlaps" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry value
        Returns:
        "spatially overlaps" predicate
        See Also:
        overlaps(Expression, Expression)
      • touches

        Predicate touches​(Expression<? extends T> geometry1,
                          Expression<? extends T> geometry2)
        Create a predicate for testing the arguments for "spatially touches" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry expression
        Returns:
        "spatially touches" predicate
      • touches

        Predicate touches​(Expression<? extends T> geometry1,
                          T geometry2)
        Create a predicate for testing the arguments for "spatially touches" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry value
        Returns:
        "spatially touches" predicate
        See Also:
        touches(Expression, Expression)
      • distanceWithin

        Predicate distanceWithin​(Expression<? extends T> geometry1,
                                 Expression<? extends T> geometry2,
                                 Expression<Double> distance)
        Create a predicate for testing the arguments for "distance within" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry expression
        distance - distance expression
        Returns:
        "distance within" predicate
      • distanceWithin

        Predicate distanceWithin​(Expression<? extends T> geometry1,
                                 T geometry2,
                                 double distance)
        Create a predicate for testing the arguments for "distance within" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry value
        distance - distance value
        Returns:
        "distance within" predicate
        See Also:
        distanceWithin(Expression, Expression, Expression)
      • distanceWithin

        Predicate distanceWithin​(Expression<? extends T> geometry1,
                                 Expression<? extends T> geometry2,
                                 double distance)
        Create a predicate for testing the arguments for "distance within" constraint.
        Parameters:
        geometry1 - geometry expression
        geometry2 - geometry expression
        distance - distance value
        Returns:
        "distance within" predicate
        See Also:
        distanceWithin(Expression, Expression, Expression)
      • havingSRID

        Predicate havingSRID​(Expression<? extends T> geometry,
                             Expression<Integer> srid)
        Create a predicate for testing the arguments for "having srid" constraint.
        Parameters:
        geometry - geometry expression
        srid - SRID expression
        Returns:
        "having srid" predicate
      • havingSRID

        Predicate havingSRID​(Expression<? extends T> geometry,
                             int srid)
        Create a predicate for testing the arguments for "having srid" constraint.
        Parameters:
        geometry - geometry expression
        srid - SRID expression
        Returns:
        "having srid" predicate
        See Also:
        havingSRID(Expression, Expression)
      • isGeometryEmpty

        Predicate isGeometryEmpty​(Expression<? extends T> geometry)
        Create a predicate for testing the arguments for "is empty" constraint.
        Parameters:
        geometry - geometry expression
        Returns:
        "is empty" predicate
      • isGeometryNotEmpty

        Predicate isGeometryNotEmpty​(Expression<? extends T> geometry)
        Create a predicate for testing the arguments for "is not empty" constraint.
        Parameters:
        geometry - geometry expression
        Returns:
        "is not empty" predicate