Package io.trino.util
Class SpatialJoinUtils
java.lang.Object
io.trino.util.SpatialJoinUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ComparisonExpression> extractSupportedSpatialComparisons(Expression filterExpression) Returns a subset of conjuncts matching one the following shapes: - ST_Distance(...) invalid input: '<'= ...static List<FunctionCall> extractSupportedSpatialFunctions(Expression filterExpression) Returns a subset of conjuncts matching one of the following shapes: - ST_Contains(...) - ST_Within(...) - ST_Intersects(...)
-
Field Details
-
ST_CONTAINS
- See Also:
-
ST_WITHIN
- See Also:
-
ST_INTERSECTS
- See Also:
-
ST_DISTANCE
- See Also:
-
-
Method Details
-
extractSupportedSpatialFunctions
Returns a subset of conjuncts matching one of the following shapes: - ST_Contains(...) - ST_Within(...) - ST_Intersects(...)Doesn't check or guarantee anything about function arguments.
-
extractSupportedSpatialComparisons
public static List<ComparisonExpression> extractSupportedSpatialComparisons(Expression filterExpression) Returns a subset of conjuncts matching one the following shapes: - ST_Distance(...) invalid input: '<'= ... - ST_Distance(...) invalid input: '<' ... - ... >= ST_Distance(...) - ... > ST_Distance(...)Doesn't check or guarantee anything about ST_Distance functions arguments or the other side of the comparison.
-