public class SQLServerGeometryType extends AbstractType<org.geolatte.geom.Geometry>
| Modifier and Type | Field and Description |
|---|---|
static SQLServerGeometryType |
DEFAULT |
| Constructor and Description |
|---|
SQLServerGeometryType() |
| 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
|
getSQLTypespublic static final SQLServerGeometryType DEFAULT
public Class<org.geolatte.geom.Geometry> getReturnedClass()
Type@Nullable public org.geolatte.geom.Geometry getValue(ResultSet rs, int startIndex) throws SQLException
Typers - result setstartIndex - column index in result setSQLExceptionpublic void setValue(PreparedStatement st, int startIndex, org.geolatte.geom.Geometry value) throws SQLException
Typest - statementstartIndex - column index in statementvalue - value to be setSQLExceptionpublic String getLiteral(org.geolatte.geom.Geometry geometry)
TypegetLiteral in interface Type<org.geolatte.geom.Geometry>getLiteral in class AbstractType<org.geolatte.geom.Geometry>Copyright © 2007–2021. All rights reserved.