public class GeographyFunctionMethods extends Object
Constructor and Description |
---|
GeographyFunctionMethods() |
Modifier and Type | Method and 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) |
@TeiidFunction(name="st_asewkt", category="Geography", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static ClobType asEwkt(GeographyType geometry) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_asbinary", category="Geography", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static BlobType asBlob(GeographyType geometry)
@TeiidFunction(name="st_geogfromtext", category="Geography", nullOnNull=true) public static GeographyType geogFromText(CommandContext ctx, ClobType wkt) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_geogfromwkb", category="Geography", nullOnNull=true) public static GeographyType geogFromBlob(CommandContext context, BlobType wkb) throws FunctionExecutionException, SQLException
@TeiidFunction(name="st_setsrid", category="Geography", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static GeographyType setSrid(GeographyType geog, int srid)
@TeiidFunction(name="st_srid", category="Geography", nullOnNull=true, pushdown=CAN_PUSHDOWN) public static int getSrid(GeographyType geog)
@TeiidFunction(name="st_intersects", category="Geography", nullOnNull=true, pushdown=MUST_PUSHDOWN) public static Boolean intersects(GeographyType geog1, GeographyType geog2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_distance", category="Geography", nullOnNull=true, pushdown=MUST_PUSHDOWN) public static Double distance(GeographyType geog1, GeographyType geog2) throws FunctionExecutionException
FunctionExecutionException
@TeiidFunction(name="st_length", category="Geography", nullOnNull=true, pushdown=MUST_PUSHDOWN) public static Double length(GeographyType geog) throws FunctionExecutionException
FunctionExecutionException
Copyright © 2020. All rights reserved.