public class GeometryJsonUtils extends Object
Constructor and Description |
---|
GeometryJsonUtils() |
Modifier and Type | Method and Description |
---|---|
static ClobType |
asGeoJson(GeometryType geometry) |
static GeometryType |
geometryFromGeoJson(ClobType json,
int srid) |
static ClobType |
geometryToGeoJson(GeometryType geometry) |
static GeometryType |
geomFromGeoJson(ClobType clob) |
static GeometryType |
geomFromGeoJson(ClobType clob,
int srid) |
@TeiidFunction(name="st_asgeojson", category="Geometry", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static ClobType asGeoJson(GeometryType geometry) 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_geomfromgeojson", category="Geometry", nullOnNull=true) public static GeometryType geomFromGeoJson(ClobType clob) throws FunctionExecutionException
FunctionExecutionException
public static ClobType geometryToGeoJson(GeometryType geometry) throws FunctionExecutionException
FunctionExecutionException
public static GeometryType geometryFromGeoJson(ClobType json, int srid) throws FunctionExecutionException
FunctionExecutionException
Copyright © 2019. All rights reserved.