public interface WktInsertOrUpdateGenerator
Modifier and Type | Method and Description |
---|---|
String |
convertToFunction(String wkt,
String sridString,
Database database)
Converts the given Well-Known Text and SRID to the appropriate function call for the database.
|
String |
getGeomFromWktFunction()
Returns the name of the function that converts Well-Known Text to a database-specific
geometry.
|
boolean |
isSridRequiredInFunction(Database database)
Indicates if the SRID parameter is required in the function returned from
getGeomFromWktFunction() . |
String convertToFunction(String wkt, String sridString, Database database)
wkt
- the Well-Known Text string.srid
- the SRID string which may be an empty string.database
- the database instance.String getGeomFromWktFunction()
boolean isSridRequiredInFunction(Database database)
getGeomFromWktFunction()
.database
- the database instance.true
if the SRID parameter is required in order to invoke the function.Copyright © 2014–2015. All rights reserved.