Class SpatialCriteriaBuilderImpl<T>
java.lang.Object
org.hibernate.query.criteria.spi.HibernateCriteriaBuilderDelegate
org.hibernate.spatial.criteria.internal.SpatialCriteriaBuilderImpl<T>
- All Implemented Interfaces:
CriteriaBuilder
,HibernateCriteriaBuilder
,SpatialCriteriaBuilder<T>
- Direct Known Subclasses:
GeolatteSpatialCriteriaBuilderImpl
,JTSSpatialCriteriaBuilderImpl
public abstract class SpatialCriteriaBuilderImpl<T>
extends HibernateCriteriaBuilderDelegate
implements SpatialCriteriaBuilder<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.CriteriaBuilder
CriteriaBuilder.Case<R extends Object>, CriteriaBuilder.Coalesce<T extends Object>, CriteriaBuilder.In<T extends Object>, CriteriaBuilder.SimpleCase<C extends Object,
R extends Object>, CriteriaBuilder.Trimspec -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SpatialCriteriaBuilderImpl
(HibernateCriteriaBuilder criteriaBuilder) -
Method Summary
Modifier and TypeMethodDescriptioncontains
(Expression<? extends T> geometry1, Expression<? extends T> geometry2) Create a predicate for testing the arguments for "spatially contains" constraint.contains
(Expression<? extends T> geometry1, T geometry2) Create a predicate for testing the arguments for "spatially contains" constraint.crosses
(Expression<? extends T> geometry1, Expression<? extends T> geometry2) Create a predicate for testing the arguments for "spatially crosses" constraint.crosses
(Expression<? extends T> geometry1, T geometry2) Create a predicate for testing the arguments for "spatially crosses" constraint.disjoint
(Expression<? extends T> geometry1, Expression<? extends T> geometry2) Create a predicate for testing the arguments for "spatially disjoint" constraint.disjoint
(Expression<? extends T> geometry1, T geometry2) Create a predicate for testing the arguments for "spatially disjoint" constraint.distanceWithin
(Expression<? extends T> geometry1, Expression<? extends T> geometry2, double distance) Create a predicate for testing the arguments for "distance within" constraint.distanceWithin
(Expression<? extends T> geometry1, Expression<? extends T> geometry2, Expression<Double> distance) Create a predicate for testing the arguments for "distance within" constraint.distanceWithin
(Expression<? extends T> geometry1, T geometry2, double distance) Create a predicate for testing the arguments for "distance within" constraint.distanceWithin
(Expression<? extends T> geometry1, T geometry2, Expression<Double> distance) Create a predicate for testing the arguments for "distance within" constraint.eq
(Expression<? extends T> geometry1, Expression<? extends T> geometry2) Create a predicate for testing the arguments for "spatially equal" constraint.eq
(Expression<? extends T> geometry1, T geometry2) Create a predicate for testing the arguments for "spatially equal" constraint.havingSRID
(Expression<? extends T> geometry, int srid) Create a predicate for testing the arguments for "having srid" constraint.havingSRID
(Expression<? extends T> geometry, Expression<Integer> srid) Create a predicate for testing the arguments for "having srid" constraint.intersects
(Expression<? extends T> geometry1, Expression<? extends T> geometry2) Create a predicate for testing the arguments for "spatially intersects" constraint.intersects
(Expression<? extends T> geometry1, T geometry2) Create a predicate for testing the arguments for "spatially intersects" constraint.isGeometryEmpty
(Expression<? extends T> geometry) Create a predicate for testing the arguments for "is empty" constraint.isGeometryNotEmpty
(Expression<? extends T> geometry) Create a predicate for testing the arguments for "is not empty" constraint.overlaps
(Expression<? extends T> geometry1, Expression<? extends T> geometry2) Create a predicate for testing the arguments for "spatially overlaps" constraint.overlaps
(Expression<? extends T> geometry1, T geometry2) Create a predicate for testing the arguments for "spatially overlaps" constraint.touches
(Expression<? extends T> geometry1, Expression<? extends T> geometry2) Create a predicate for testing the arguments for "spatially touches" constraint.touches
(Expression<? extends T> geometry1, T geometry2) Create a predicate for testing the arguments for "spatially touches" constraint.within
(Expression<? extends T> geometry1, Expression<? extends T> geometry2) Create a predicate for testing the arguments for "spatially within" constraint.within
(Expression<? extends T> geometry1, T geometry2) Create a predicate for testing the arguments for "spatially within" constraint.Methods inherited from class org.hibernate.query.criteria.spi.HibernateCriteriaBuilderDelegate
abs, acos, addDuration, addDuration, addDuration, all, and, and, any, array, array, array, array, arrayAgg, arrayAgg, arrayAgg, arrayAgg, arrayAppend, arrayAppend, arrayConcat, arrayConcat, arrayConcat, arrayContains, arrayContains, arrayContains, arrayContainsAll, arrayContainsAll, arrayContainsAll, arrayContainsAllNullable, arrayContainsAllNullable, arrayContainsAllNullable, arrayContainsNullable, arrayContainsNullable, arrayContainsNullable, arrayFill, arrayFill, arrayFill, arrayFill, arrayGet, arrayGet, arrayIncludes, arrayIncludes, arrayIncludes, arrayIncludesNullable, arrayIncludesNullable, arrayIncludesNullable, arrayIntersects, arrayIntersects, arrayIntersects, arrayIntersectsNullable, arrayIntersectsNullable, arrayIntersectsNullable, arrayLength, arrayLiteral, arrayOverlaps, arrayOverlaps, arrayOverlaps, arrayOverlapsNullable, arrayOverlapsNullable, arrayOverlapsNullable, arrayPosition, arrayPosition, arrayPositions, arrayPositions, arrayPositionsList, arrayPositionsList, arrayPrepend, arrayPrepend, arrayRemove, arrayRemove, arrayRemoveIndex, arrayRemoveIndex, arrayReplace, arrayReplace, arrayReplace, arrayReplace, arraySet, arraySet, arraySet, arraySet, arraySlice, arraySlice, arraySlice, arraySlice, arrayToString, arrayToString, arrayTrim, arrayTrim, asc, asc, asc, asc, asin, atan, atan2, atan2, atan2, avg, avg, avg, avg, between, between, cast, ceiling, coalesce, coalesce, coalesce, collate, collectionAppend, collectionAppend, collectionConcat, collectionConcat, collectionConcat, collectionContains, collectionContains, collectionContains, collectionContainsAll, collectionContainsAll, collectionContainsAll, collectionContainsAllNullable, collectionContainsAllNullable, collectionContainsAllNullable, collectionContainsNullable, collectionContainsNullable, collectionContainsNullable, collectionFill, collectionFill, collectionFill, collectionFill, collectionGet, collectionGet, collectionIncludes, collectionIncludes, collectionIncludes, collectionIncludesNullable, collectionIncludesNullable, collectionIncludesNullable, collectionIntersects, collectionIntersects, collectionIntersects, collectionIntersectsNullable, collectionIntersectsNullable, collectionIntersectsNullable, collectionLength, collectionLiteral, collectionOverlaps, collectionOverlaps, collectionOverlaps, collectionOverlapsNullable, collectionOverlapsNullable, collectionOverlapsNullable, collectionPosition, collectionPosition, collectionPositions, collectionPositions, collectionPositionsList, collectionPositionsList, collectionPrepend, collectionPrepend, collectionRemove, collectionRemove, collectionRemoveIndex, collectionRemoveIndex, collectionReplace, collectionReplace, collectionReplace, collectionReplace, collectionSet, collectionSet, collectionSet, collectionSet, collectionSlice, collectionSlice, collectionSlice, collectionSlice, collectionToString, collectionToString, collectionTrim, collectionTrim, concat, concat, concat, concat, conjunction, construct, construct, cos, cosh, count, count, count, count, count, countDistinct, createCriteriaDelete, createCriteriaInsertSelect, createCriteriaInsertValues, createCriteriaUpdate, createQuery, createQuery, createQuery, createTupleQuery, createWindow, cumeDist, currentDate, currentInstant, currentTime, currentTimestamp, day, degrees, denseRank, desc, desc, desc, desc, diff, diff, diff, disjunction, distinctFrom, distinctFrom, duration, durationBetween, durationBetween, durationByUnit, durationDiff, durationDiff, durationScaled, durationScaled, durationScaled, durationSum, durationSum, equal, equal, except, except, except, except, exceptAll, exceptAll, exists, exp, firstValue, fk, floor, format, frameBetweenFollowing, frameBetweenFollowing, frameBetweenPreceding, frameBetweenPreceding, frameCurrentRow, frameUnboundedFollowing, frameUnboundedPreceding, function, functionAggregate, functionAggregate, functionAggregate, functionWithinGroup, functionWithinGroup, functionWithinGroup, functionWithinGroup, ge, ge, getCriteriaBuilder, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, greatest, gt, gt, hour, ilike, ilike, ilike, ilike, ilike, ilike, in, in, in, in, indexes, intersect, intersect, intersect, intersect, intersectAll, intersectAll, isEmpty, isFalse, isMapEmpty, isMapNotEmpty, isMember, isMember, isNotEmpty, isNotMember, isNotMember, isNotNull, isNull, isTrue, keys, lastValue, le, le, least, left, left, length, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, like, like, like, like, like, like, listagg, listagg, listagg, listagg, listagg, listagg, listagg, listagg, literal, literals, literals, ln, localDate, localDateTime, localTime, locate, locate, locate, locate, log, log, log10, lower, lt, lt, mapSize, mapSize, max, min, minute, mod, mod, mod, mode, mode, mode, mode, month, neg, not, notDistinctFrom, notDistinctFrom, notEqual, notEqual, notIlike, notIlike, notIlike, notIlike, notIlike, notIlike, notLike, notLike, notLike, notLike, notLike, notLike, nthValue, nthValue, nullif, nullif, nullLiteral, or, or, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, parameter, parameter, percentileCont, percentileCont, percentileCont, percentileCont, percentileDisc, percentileDisc, percentileDisc, percentileDisc, percentRank, percentRank, percentRank, percentRank, percentRank, pi, power, power, prod, prod, prod, quot, quot, quot, radians, rank, rank, rank, rank, rank, repeat, repeat, repeat, replace, replace, replace, replace, right, right, round, rowNumber, search, search, search, second, selectCase, selectCase, sign, sin, sinh, size, size, some, sort, sort, sort, sort, sql, sqrt, substring, substring, substring, substring, subtractDuration, subtractDuration, subtractDuration, sum, sum, sum, sum, sum, sum, sum, sumAsDouble, sumAsLong, tan, tanh, toBigDecimal, toBigInteger, toDouble, toFloat, toInteger, toLong, toString, treat, treat, treat, treat, treat, treat, treat, trim, trim, trim, trim, trim, trim, truncate, truncate, tuple, tuple, union, union, union, union, unionAll, unionAll, unwrap, upper, value, values, values, values, windowFunction, wrap, wrap, year
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.criteria.HibernateCriteriaBuilder
abs, acos, addDuration, addDuration, addDuration, all, and, and, any, array, array, array, array, arrayAgg, arrayAgg, arrayAgg, arrayAgg, arrayAppend, arrayAppend, arrayConcat, arrayConcat, arrayConcat, arrayContains, arrayContains, arrayContains, arrayContainsAll, arrayContainsAll, arrayContainsAll, arrayContainsAllNullable, arrayContainsAllNullable, arrayContainsAllNullable, arrayContainsNullable, arrayContainsNullable, arrayContainsNullable, arrayFill, arrayFill, arrayFill, arrayFill, arrayGet, arrayGet, arrayIncludes, arrayIncludes, arrayIncludes, arrayIncludesNullable, arrayIncludesNullable, arrayIncludesNullable, arrayIntersects, arrayIntersects, arrayIntersects, arrayIntersectsNullable, arrayIntersectsNullable, arrayIntersectsNullable, arrayLength, arrayLiteral, arrayOverlaps, arrayOverlaps, arrayOverlaps, arrayOverlapsNullable, arrayOverlapsNullable, arrayOverlapsNullable, arrayPosition, arrayPosition, arrayPositions, arrayPositions, arrayPositionsList, arrayPositionsList, arrayPrepend, arrayPrepend, arrayRemove, arrayRemove, arrayRemoveIndex, arrayRemoveIndex, arrayReplace, arrayReplace, arrayReplace, arrayReplace, arraySet, arraySet, arraySet, arraySet, arraySlice, arraySlice, arraySlice, arraySlice, arrayToString, arrayToString, arrayTrim, arrayTrim, asc, asc, asc, asc, asin, atan, atan2, atan2, atan2, avg, avg, avg, avg, between, between, cast, ceiling, coalesce, coalesce, coalesce, collate, collectionAppend, collectionAppend, collectionConcat, collectionConcat, collectionConcat, collectionContains, collectionContains, collectionContains, collectionContainsAll, collectionContainsAll, collectionContainsAll, collectionContainsAllNullable, collectionContainsAllNullable, collectionContainsAllNullable, collectionContainsNullable, collectionContainsNullable, collectionContainsNullable, collectionFill, collectionFill, collectionFill, collectionFill, collectionGet, collectionGet, collectionIncludes, collectionIncludes, collectionIncludes, collectionIncludesNullable, collectionIncludesNullable, collectionIncludesNullable, collectionIntersects, collectionIntersects, collectionIntersects, collectionIntersectsNullable, collectionIntersectsNullable, collectionIntersectsNullable, collectionLength, collectionLiteral, collectionOverlaps, collectionOverlaps, collectionOverlaps, collectionOverlapsNullable, collectionOverlapsNullable, collectionOverlapsNullable, collectionPosition, collectionPosition, collectionPositions, collectionPositions, collectionPositionsList, collectionPositionsList, collectionPrepend, collectionPrepend, collectionRemove, collectionRemove, collectionRemoveIndex, collectionRemoveIndex, collectionReplace, collectionReplace, collectionReplace, collectionReplace, collectionSet, collectionSet, collectionSet, collectionSet, collectionSlice, collectionSlice, collectionSlice, collectionSlice, collectionToString, collectionToString, collectionTrim, collectionTrim, concat, concat, concat, concat, conjunction, construct, construct, cos, cosh, count, count, count, count, count, countDistinct, createCriteriaDelete, createCriteriaInsertSelect, createCriteriaInsertValues, createCriteriaUpdate, createQuery, createQuery, createQuery, createTupleQuery, createWindow, cumeDist, currentDate, currentInstant, currentTime, currentTimestamp, day, degrees, denseRank, desc, desc, desc, desc, diff, diff, diff, disjunction, distinctFrom, distinctFrom, duration, durationBetween, durationBetween, durationByUnit, durationDiff, durationDiff, durationScaled, durationScaled, durationScaled, durationSum, durationSum, equal, equal, except, except, except, except, exceptAll, exceptAll, exists, exp, firstValue, fk, floor, format, frameBetweenFollowing, frameBetweenFollowing, frameBetweenPreceding, frameBetweenPreceding, frameCurrentRow, frameUnboundedFollowing, frameUnboundedPreceding, function, functionAggregate, functionAggregate, functionAggregate, functionWithinGroup, functionWithinGroup, functionWithinGroup, functionWithinGroup, ge, ge, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, greatest, gt, gt, hour, ilike, ilike, ilike, ilike, ilike, ilike, in, in, in, in, indexes, intersect, intersect, intersect, intersect, intersectAll, intersectAll, isEmpty, isFalse, isMapEmpty, isMapNotEmpty, isMember, isMember, isNotEmpty, isNotMember, isNotMember, isNotNull, isNull, isTrue, keys, lastValue, le, le, least, left, left, length, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, like, like, like, like, like, like, listagg, listagg, listagg, listagg, listagg, listagg, listagg, listagg, literal, literals, literals, ln, localDate, localDateTime, localTime, locate, locate, locate, locate, log, log, log10, lower, lt, lt, mapSize, mapSize, max, min, minute, mod, mod, mod, mode, mode, mode, mode, month, neg, not, notDistinctFrom, notDistinctFrom, notEqual, notEqual, notIlike, notIlike, notIlike, notIlike, notIlike, notIlike, notLike, notLike, notLike, notLike, notLike, notLike, nthValue, nthValue, nullif, nullif, nullLiteral, or, or, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, parameter, parameter, percentileCont, percentileCont, percentileCont, percentileCont, percentileDisc, percentileDisc, percentileDisc, percentileDisc, percentRank, percentRank, percentRank, percentRank, percentRank, pi, power, power, prod, prod, prod, quot, quot, quot, radians, rank, rank, rank, rank, rank, repeat, repeat, repeat, replace, replace, replace, replace, right, right, round, rowNumber, search, search, search, second, selectCase, selectCase, sign, sin, sinh, size, size, some, sort, sort, sort, sort, sql, sqrt, substring, substring, substring, substring, subtractDuration, subtractDuration, subtractDuration, sum, sum, sum, sum, sum, sum, sum, sumAsDouble, sumAsLong, tan, tanh, toBigDecimal, toBigInteger, toDouble, toFloat, toInteger, toLong, toString, treat, treat, treat, treat, treat, treat, treat, trim, trim, trim, trim, trim, trim, truncate, truncate, tuple, tuple, union, union, union, union, unionAll, unionAll, unwrap, upper, value, values, values, values, windowFunction, wrap, wrap, year
-
Constructor Details
-
SpatialCriteriaBuilderImpl
-
-
Method Details
-
eq
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially equal" constraint.- Specified by:
eq
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry expression- Returns:
- "spatially equal" predicate
-
eq
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially equal" constraint.- Specified by:
eq
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry value- Returns:
- "spatially equal" predicate
- See Also:
-
within
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially within" constraint.- Specified by:
within
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry expression- Returns:
- "spatially within" predicate
-
within
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially within" constraint.- Specified by:
within
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry value- Returns:
- "spatially within" predicate
- See Also:
-
contains
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially contains" constraint.- Specified by:
contains
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry expression- Returns:
- "spatially contains" predicate
-
contains
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially contains" constraint.- Specified by:
contains
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry value- Returns:
- "spatially contains" predicate
- See Also:
-
crosses
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially crosses" constraint.- Specified by:
crosses
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry expression- Returns:
- "spatially crosses" predicate
-
crosses
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially crosses" constraint.- Specified by:
crosses
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry value- Returns:
- "spatially crosses" predicate
- See Also:
-
disjoint
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially disjoint" constraint.- Specified by:
disjoint
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry expression- Returns:
- "spatially disjoint" predicate
-
disjoint
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially disjoint" constraint.- Specified by:
disjoint
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry value- Returns:
- "spatially disjoint" predicate
- See Also:
-
intersects
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially intersects" constraint.- Specified by:
intersects
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry expression- Returns:
- "spatially intersects" predicate
-
intersects
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially intersects" constraint.- Specified by:
intersects
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry value- Returns:
- "spatially intersects" predicate
- See Also:
-
overlaps
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially overlaps" constraint.- Specified by:
overlaps
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry expression- Returns:
- "spatially overlaps" predicate
-
overlaps
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially overlaps" constraint.- Specified by:
overlaps
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry value- Returns:
- "spatially overlaps" predicate
- See Also:
-
touches
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially touches" constraint.- Specified by:
touches
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry expression- Returns:
- "spatially touches" predicate
-
touches
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "spatially touches" constraint.- Specified by:
touches
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry value- Returns:
- "spatially touches" predicate
- See Also:
-
distanceWithin
public Predicate distanceWithin(Expression<? extends T> geometry1, Expression<? extends T> geometry2, Expression<Double> distance) Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "distance within" constraint.- Specified by:
distanceWithin
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry expressiondistance
- distance expression- Returns:
- "distance within" predicate
-
distanceWithin
public Predicate distanceWithin(Expression<? extends T> geometry1, T geometry2, Expression<Double> distance) Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "distance within" constraint.- Specified by:
distanceWithin
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry valuedistance
- distance expression- Returns:
- "distance within" predicate
- See Also:
-
distanceWithin
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "distance within" constraint.- Specified by:
distanceWithin
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry valuedistance
- distance value- Returns:
- "distance within" predicate
- See Also:
-
distanceWithin
public Predicate distanceWithin(Expression<? extends T> geometry1, Expression<? extends T> geometry2, double distance) Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "distance within" constraint.- Specified by:
distanceWithin
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry1
- geometry expressiongeometry2
- geometry expressiondistance
- distance value- Returns:
- "distance within" predicate
- See Also:
-
havingSRID
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "having srid" constraint.- Specified by:
havingSRID
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry
- geometry expressionsrid
- SRID expression- Returns:
- "having srid" predicate
-
havingSRID
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "having srid" constraint.- Specified by:
havingSRID
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry
- geometry expressionsrid
- SRID expression- Returns:
- "having srid" predicate
- See Also:
-
isGeometryEmpty
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "is empty" constraint.- Specified by:
isGeometryEmpty
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry
- geometry expression- Returns:
- "is empty" predicate
-
isGeometryNotEmpty
Description copied from interface:SpatialCriteriaBuilder
Create a predicate for testing the arguments for "is not empty" constraint.- Specified by:
isGeometryNotEmpty
in interfaceSpatialCriteriaBuilder<T>
- Parameters:
geometry
- geometry expression- Returns:
- "is not empty" predicate
-