Package org.teiid.geo
Class GeometryJsonUtils
- java.lang.Object
-
- org.teiid.geo.GeometryJsonUtils
-
public class GeometryJsonUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description GeometryJsonUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClobTypeasGeoJson(GeometryType geometry)static GeometryTypegeometryFromGeoJson(ClobType json, int srid)static ClobTypegeometryToGeoJson(GeometryType geometry)static GeometryTypegeomFromGeoJson(ClobType clob)static GeometryTypegeomFromGeoJson(ClobType clob, int srid)
-
-
-
Method Detail
-
asGeoJson
@TeiidFunction(name="st_asgeojson", category="Geometry", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static ClobType asGeoJson(GeometryType geometry) throws FunctionExecutionException
- Throws:
FunctionExecutionException
-
geomFromGeoJson
@TeiidFunction(name="st_geomfromgeojson", category="Geometry", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static GeometryType geomFromGeoJson(ClobType clob, int srid) throws FunctionExecutionException
- Throws:
FunctionExecutionException
-
geomFromGeoJson
@TeiidFunction(name="st_geomfromgeojson", category="Geometry", nullOnNull=true) public static GeometryType geomFromGeoJson(ClobType clob) throws FunctionExecutionException
- Throws:
FunctionExecutionException
-
geometryToGeoJson
public static ClobType geometryToGeoJson(GeometryType geometry) throws FunctionExecutionException
- Throws:
FunctionExecutionException
-
geometryFromGeoJson
public static GeometryType geometryFromGeoJson(ClobType json, int srid) throws FunctionExecutionException
- Throws:
FunctionExecutionException
-
-