@TeiidFunction(name=SourceSystemFunctions.ST_TRANSFORM, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static GeometryType transform(CommandContext context, GeometryType geom, int srid) throws FunctionExecutionException { return GeometryTransformUtils.transform(context, geom, srid); }
@TeiidFunction(name=SourceSystemFunctions.ST_MAKEENVELOPE, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static GeometryType makeEnvelope(double xmin, double ymin, double xmax, double ymax, int srid) { return GeometryUtils.makeEnvelope(xmin, ymin, xmax, ymax, srid); }
@TeiidFunction(name=SourceSystemFunctions.ST_ASTEXT, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static ClobType asText(GeometryType geometry) throws FunctionExecutionException { return GeometryUtils.geometryToClob(geometry, false); }
@TeiidFunction(name=SourceSystemFunctions.ST_INTERSECTS, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static Boolean intersects(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException { return GeometryUtils.intersects(geom1, geom2); }
@TeiidFunction(name=SourceSystemFunctions.ST_EQUALS, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static Boolean equals(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException { return GeometryUtils.equals(geom1, geom2); }
@TeiidFunction(name=SourceSystemFunctions.ST_ENVELOPE, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static GeometryType envelope(GeometryType geom) throws FunctionExecutionException { return GeometryUtils.envelope(geom); }
@TeiidFunction(name=SourceSystemFunctions.ST_AREA, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static Double area(GeometryType geom) throws FunctionExecutionException { return GeometryUtils.area(geom); }
@TeiidFunction(name=SourceSystemFunctions.ST_EXTERIORRING, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static GeometryType exteriorRing(GeometryType geom) throws FunctionExecutionException { return GeometryUtils.exteriorRing(geom); }
@TeiidFunction(name=SourceSystemFunctions.ST_ISCLOSED, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static Boolean isClosed(GeometryType geom) throws FunctionExecutionException { return GeometryUtils.isClosed(geom); }
@TeiidFunction(name=SourceSystemFunctions.ST_ISEMPTY, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static Boolean isEmpty(GeometryType geom) throws FunctionExecutionException { return GeometryUtils.isEmpty(geom); }
@TeiidFunction(name=SourceSystemFunctions.ST_ORDERINGEQUALS, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static Boolean orderingEquals(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException { return GeometryUtils.orderingEquals(geom1, geom2); }
@TeiidFunction(name=SourceSystemFunctions.ST_POINT, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static GeometryType point(double x, double y) { return GeometryUtils.point(x, y); }
@TeiidFunction(name=SourceSystemFunctions.ST_PERIMETER, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static Double perimeter(GeometryType geom) throws FunctionExecutionException { return GeometryUtils.perimeter(geom); }
@TeiidFunction(name=SourceSystemFunctions.ST_DISTANCE, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static Double distance(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException { return GeometryUtils.distance(geom1, geom2); }
@TeiidFunction(name=SourceSystemFunctions.ST_ENDPOINT, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static GeometryType endPoint(GeometryType geom) throws FunctionExecutionException { return GeometryUtils.startEndPoint(geom, false); }
@TeiidFunction(name=SourceSystemFunctions.ST_INTERIORRINGN, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static GeometryType interiorRingN(GeometryType geom, int index) throws FunctionExecutionException { return GeometryUtils.interiorRingN(geom, index - 1); }
@TeiidFunction(name=SourceSystemFunctions.ST_ISSIMPLE, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static Boolean isSimple(GeometryType geom) throws FunctionExecutionException { return GeometryUtils.isSimple(geom); }
@TeiidFunction(name=SourceSystemFunctions.ST_LENGTH, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static Double length(GeometryType geom) throws FunctionExecutionException { return GeometryUtils.length(geom); }
@TeiidFunction(name=SourceSystemFunctions.ST_X, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static Double ordinateX(GeometryType geom) throws FunctionExecutionException { return GeometryUtils.ordinate(geom, GeometryUtils.Ordinate.X); }
@TeiidFunction(name=SourceSystemFunctions.ST_MAKEENVELOPE, category=FunctionCategoryConstants.GEOMETRY, nullOnNull=true, pushdown=PushDown.CAN_PUSHDOWN) public static GeometryType makeEnvelope(double xmin, double ymin, double xmax, double ymax) { return GeometryUtils.makeEnvelope(xmin, ymin, xmax, ymax, null); }