public class SpatialInsertGeneratorOracle extends AbstractSpatialInsertGenerator
SpatialInsertGeneratorOracle
generates the SQL for INSERT
ing
geometries into Oracle.Constructor and Description |
---|
SpatialInsertGeneratorOracle() |
Modifier and Type | Method and Description |
---|---|
String |
convertToFunction(String wkt,
String srid,
Database database)
Handles the Well-Known Text and SRID for Oracle.
|
String |
getGeomFromWktFunction()
Returns the name of the function that converts Well-Known Text to a database-specific
geometry.
|
boolean |
supports(InsertStatement statement,
Database database)
Verifies that the
InsertStatement has WKT or EWKT. |
generateSql, getPriority, handleColumnValue, isSridRequiredInFunction, looksLikeFunctionCall, validate
public boolean supports(InsertStatement statement, Database database)
InsertStatement
has WKT or EWKT.public String getGeomFromWktFunction()
public String convertToFunction(String wkt, String srid, Database database)
convertToFunction
in interface WktInsertOrUpdateGenerator
convertToFunction
in class AbstractSpatialInsertGenerator
wkt
- the Well-Known Text string.srid
- the SRID string which may be an empty string.database
- the database instance.Copyright © 2014–2015. All rights reserved.