public class SpatialInsertGeneratorGeoDB extends AbstractSpatialInsertGenerator
SpatialInsertGeneratorH2
generates the SQL for INSERT
ing geometries
into Apache Derby and H2.Constructor and Description |
---|
SpatialInsertGeneratorGeoDB() |
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(InsertStatement statement,
Database database) |
convertToFunction, generateSql, getPriority, handleColumnValue, looksLikeFunctionCall, validate
public boolean supports(InsertStatement statement, Database database)
public String getGeomFromWktFunction()
public boolean isSridRequiredInFunction(Database database)
true
for GeoDB.isSridRequiredInFunction
in interface WktInsertOrUpdateGenerator
isSridRequiredInFunction
in class AbstractSpatialInsertGenerator
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.