public class GeometryType
extends LiquibaseDataType
GeometryType
assists in defining database-specific geometry types and converting
SQL representations of geometries.Constructor and Description |
---|
GeometryType() |
Modifier and Type | Method and Description |
---|---|
String |
getGeometryType()
Returns the value geometry type parameter.
|
Integer |
getSRID()
Returns the value SRID parameter.
|
String |
objectToSql(Object value,
Database database) |
Object |
sqlToObject(String value,
Database database) |
DatabaseDataType |
toDatabaseDataType(Database database)
Creates the appropriate Geometry
DatabaseDataType . |
public String getGeometryType()
null
if not present.public Integer getSRID()
null
if not present.public DatabaseDataType toDatabaseDataType(Database database)
DatabaseDataType
.public String objectToSql(Object value, Database database)
liquibase.datatype.LiquibaseDataType#objectToSql(java.lang.Object,
liquibase.database.Database)
Copyright © 2014–2015. All rights reserved.