public class SpatialUpdateGeneratorGeoDB extends AbstractSpatialUpdateGenerator
SpatialUpdateGeneratorGeoDB
generates the SQL for UPDATING
ing
geometries in Apache Derby and H2.Constructor and Description |
---|
SpatialUpdateGeneratorGeoDB() |
Modifier and Type | Method and Description |
---|---|
String |
getGeomFromWktFunction()
Returns the name of the function that converts Well-Known Text to a database-specific
geometry.
|
boolean |
isSridRequiredInFunction(Database database)
Always returns
true for GeoDB. |
boolean |
supports(UpdateStatement statement,
Database database) |
convertToFunction, generateSql, getPriority, handleColumnValue, looksLikeFunctionCall, validate
public boolean supports(UpdateStatement statement, Database database)
public String getGeomFromWktFunction()
public boolean isSridRequiredInFunction(Database database)
true
for GeoDB.isSridRequiredInFunction
in interface WktInsertOrUpdateGenerator
isSridRequiredInFunction
in class AbstractSpatialUpdateGenerator
database
- the database instance.true
if the SRID parameter is required in order to invoke the function.AbstractSpatialInsertGenerator.isSridRequiredInFunction(Database)
Copyright © 2014–2015. All rights reserved.