public class GeometryFunctionMethods extends Object
Constructor and Description |
---|
GeometryFunctionMethods() |
@TeiidFunction(name="st_astext", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static ClobType asText(GeometryType geometry) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_asewkt", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static ClobType asEwkt(GeometryType geometry) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_asbinary", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static BlobType asBlob(GeometryType geometry)
public static BlobType asBlob(GeometryType geometry, String encoding) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_asewkb", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static BlobType asEwkb(GeometryType geometry)
@TeiidFunction(name="st_asgeojson", category="Geometry", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static ClobType asGeoJson(GeometryType geometry) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_asgml", category="Geometry", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static ClobType asGml(CommandContext context, GeometryType geometry) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_askml", category="Geometry", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static ClobType asKml(CommandContext context, GeometryType geometry) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geomfromtext", category="Geometry", nullOnNull=true) public static GeometryType geomFromText(ClobType wkt) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geomfromtext", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType geomFromText(ClobType wkt, int srid) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geomfromwkb", category="Geometry", nullOnNull=true, alias="ST_GEOMFROMBINARY") public static GeometryType geoFromBlob(BlobType wkb) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geomfromwkb", category="Geometry", pushdown=CAN_PUSHDOWN, nullOnNull=true, alias="ST_GEOMFROMBINARY") public static GeometryType geoFromBlob(BlobType wkb, int srid) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geomfromgeojson", category="Geometry", nullOnNull=true) public static GeometryType geomFromGeoJson(ClobType clob) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geomfromgeojson", category="Geometry", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static GeometryType geomFromGeoJson(ClobType clob, int srid) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geomfromgml", category="Geometry", nullOnNull=true) public static GeometryType geomFromGml(ClobType gml) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geomfromgml", category="Geometry", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static GeometryType geomFromGml(ClobType gml, int srid) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_intersects", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean intersects(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_contains", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean contains(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_crosses", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean crosses(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_disjoint", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean disjoint(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_distance", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Double distance(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_overlaps", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean overlaps(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_touches", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean touches(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_srid", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static int getSrid(GeometryType geom1)
@TeiidFunction(name="st_setsrid", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType setSrid(GeometryType geom1, int srid)
@TeiidFunction(name="st_equals", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean equals(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_transform", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType transform(CommandContext context, GeometryType geom, int srid) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_envelope", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType envelope(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_within", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean within(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_dwithin", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean dwithin(GeometryType geom1, GeometryType geom2, double distance) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_simplify", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType simplify(GeometryType geom, double tolerance) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_simplifypreservetopology", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType simplifyPreserveTopology(GeometryType geom, double tolerance) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_force_2d", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType force2D(GeometryType geom)
@TeiidFunction(name="st_hasarc", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static boolean hasArc(GeometryType geom)
@TeiidFunction(name="&&", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static boolean boundingBoxIntersects(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geomfromewkt", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType geomFromEwkt(ClobType ewkt) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geomfromewkb", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType geomFromEwkb(BlobType ewkb) throws FunctionExecutionException, SQLException
@TeiidFunction(name="st_area", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Double area(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_boundary", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType boundary(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_buffer", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType buffer(GeometryType geom, double distance) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_centroid", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType centroid(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_convexhull", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType convexHull(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_coorddim", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Integer coordDim(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_curvetoline", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType curveToLine(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_difference", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType difference(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_dimension", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Integer dimension(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_endpoint", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType endPoint(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_exteriorring", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType exteriorRing(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geometryn", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType geometryN(GeometryType geom, int index) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geometrytype", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static String geometryType(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_interiorringn", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType interiorRingN(GeometryType geom, int index) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_intersection", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType intersection(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_isclosed", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean isClosed(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_isempty", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean isEmpty(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_isring", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean isRing(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_issimple", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean isSimple(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_isvalid", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean isValid(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_length", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Double length(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_numgeometries", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Integer numGeometries(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_numinteriorrings", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Integer numInteriorRings(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_numpoints", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Integer numPoints(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_orderingequals", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean orderingEquals(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_point", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType point(double x, double y)
@TeiidFunction(name="st_pointn", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType pointN(GeometryType geom, int index) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_perimeter", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Double perimeter(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_pointonsurface", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType pointOnSurface(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_polygon", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType polygon(GeometryType geom, int srid) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_relate", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static String relate(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_relate", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Boolean relate(GeometryType geom1, GeometryType geom2, String intersectionPattern) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_startpoint", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType startPoint(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_symdifference", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType symDifference(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_union", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType union(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_x", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Double ordinateX(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_y", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Double ordinateY(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_z", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static Double ordinateZ(GeometryType geom) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_makeenvelope", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType makeEnvelope(double xmin, double ymin, double xmax, double ymax)
@TeiidFunction(name="st_makeenvelope", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType makeEnvelope(double xmin, double ymin, double xmax, double ymax, int srid)
@TeiidFunction(name="st_snaptogrid", category="Geometry", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeometryType snapToGrid(GeometryType geom, float size) throws FunctionExecutionException
FunctionExecutionException
Copyright © 2018 JBoss by Red Hat. All rights reserved.