public class SpatialUpdateGeneratorOracle extends AbstractSpatialUpdateGenerator
SpatialUpdateGeneratorOracle
generates the SQL for UPDATE
ing
geometries in Oracle.Constructor and Description |
---|
SpatialUpdateGeneratorOracle() |
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(UpdateStatement statement,
Database database)
Verifies that the
UpdateStatement has WKT or EWKT. |
generateSql, getPriority, handleColumnValue, isSridRequiredInFunction, looksLikeFunctionCall, validate
public boolean supports(UpdateStatement statement, Database database)
UpdateStatement
has WKT or EWKT.public String getGeomFromWktFunction()
public String convertToFunction(String wkt, String srid, Database database)
convertToFunction
in interface WktInsertOrUpdateGenerator
convertToFunction
in class AbstractSpatialUpdateGenerator
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.