public class GeometryWktType extends AbstractType<org.geolatte.geom.Geometry>
Modifier and Type | Field and Description |
---|---|
static GeometryWktType |
DEFAULT |
Constructor and Description |
---|
GeometryWktType() |
Modifier and Type | Method and Description |
---|---|
String |
getLiteral(org.geolatte.geom.Geometry geometry)
Get the literal representation
|
Class<org.geolatte.geom.Geometry> |
getReturnedClass()
Get the returned type
|
org.geolatte.geom.Geometry |
getValue(ResultSet rs,
int startIndex)
Get the object from the result set
|
void |
setValue(PreparedStatement st,
int startIndex,
org.geolatte.geom.Geometry value)
Set the object to the statement
|
getSQLTypes
public static final GeometryWktType DEFAULT
public Class<org.geolatte.geom.Geometry> getReturnedClass()
Type
@Nullable public org.geolatte.geom.Geometry getValue(ResultSet rs, int startIndex) throws SQLException
Type
rs
- result setstartIndex
- column index in result setSQLException
public void setValue(PreparedStatement st, int startIndex, org.geolatte.geom.Geometry value) throws SQLException
Type
st
- statementstartIndex
- column index in statementvalue
- value to be setSQLException
public String getLiteral(org.geolatte.geom.Geometry geometry)
Type
getLiteral
in interface Type<org.geolatte.geom.Geometry>
getLiteral
in class AbstractType<org.geolatte.geom.Geometry>
Copyright © 2007–2014 Mysema Ltd. All rights reserved.