Package org.teiid.query.function
Class GeographyFunctionMethods
- java.lang.Object
-
- org.teiid.query.function.GeographyFunctionMethods
-
public class GeographyFunctionMethods extends Object
-
-
Constructor Summary
Constructors Constructor Description GeographyFunctionMethods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlobType
asBlob(GeographyType geometry)
static ClobType
asEwkt(GeographyType geometry)
static Double
distance(GeographyType geog1, GeographyType geog2)
static GeographyType
geogFromBlob(CommandContext context, BlobType wkb)
static GeographyType
geogFromText(CommandContext ctx, ClobType wkt)
static int
getSrid(GeographyType geog)
static Boolean
intersects(GeographyType geog1, GeographyType geog2)
static Double
length(GeographyType geog)
static GeographyType
setSrid(GeographyType geog, int srid)
-
-
-
Method Detail
-
asEwkt
@TeiidFunction(name="st_asewkt", category="Geography", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static ClobType asEwkt(GeographyType geometry) throws FunctionExecutionException
- Throws:
FunctionExecutionException
-
asBlob
@TeiidFunction(name="st_asbinary", category="Geography", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static BlobType asBlob(GeographyType geometry)
-
geogFromText
@TeiidFunction(name="st_geogfromtext", category="Geography", nullOnNull=true) public static GeographyType geogFromText(CommandContext ctx, ClobType wkt) throws FunctionExecutionException
- Throws:
FunctionExecutionException
-
geogFromBlob
@TeiidFunction(name="st_geogfromwkb", category="Geography", nullOnNull=true) public static GeographyType geogFromBlob(CommandContext context, BlobType wkb) throws FunctionExecutionException, SQLException
-
setSrid
@TeiidFunction(name="st_setsrid", category="Geography", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeographyType setSrid(GeographyType geog, int srid)
-
getSrid
@TeiidFunction(name="st_srid", category="Geography", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static int getSrid(GeographyType geog)
-
intersects
@TeiidFunction(name="st_intersects", category="Geography", nullOnNull=true, pushdown=MUST_PUSHDOWN) public static Boolean intersects(GeographyType geog1, GeographyType geog2) throws FunctionExecutionException
- Throws:
FunctionExecutionException
-
distance
@TeiidFunction(name="st_distance", category="Geography", nullOnNull=true, pushdown=MUST_PUSHDOWN) public static Double distance(GeographyType geog1, GeographyType geog2) throws FunctionExecutionException
- Throws:
FunctionExecutionException
-
length
@TeiidFunction(name="st_length", category="Geography", nullOnNull=true, pushdown=MUST_PUSHDOWN) public static Double length(GeographyType geog) throws FunctionExecutionException
- Throws:
FunctionExecutionException
-
-