Package org.hibernate.spatial
Class GeometryLiteralFormatter<T>
- java.lang.Object
-
- org.hibernate.spatial.GeometryLiteralFormatter<T>
-
- All Implemented Interfaces:
Serializable
,JdbcLiteralFormatter<T>
public class GeometryLiteralFormatter<T> extends Object implements JdbcLiteralFormatter<T>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
geomFromTextName
protected JavaType<T>
javaType
protected org.geolatte.geom.codec.Wkt.Dialect
wktDialect
-
Constructor Summary
Constructors Constructor Description GeometryLiteralFormatter(JavaType<T> javaType, org.geolatte.geom.codec.Wkt.Dialect wktDialect, String geomFromTextName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendJdbcLiteral(SqlAppender appender, T value, Dialect dialect, WrapperOptions wrapperOptions)
Append a SQL literal representing the given Java value to a fragment of SQL which is being built.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcLiteralFormatter
toJdbcLiteral
-
-
-
-
Method Detail
-
appendJdbcLiteral
public void appendJdbcLiteral(SqlAppender appender, T value, Dialect dialect, WrapperOptions wrapperOptions)
Description copied from interface:JdbcLiteralFormatter
Append a SQL literal representing the given Java value to a fragment of SQL which is being built.- Specified by:
appendJdbcLiteral
in interfaceJdbcLiteralFormatter<T>
- Parameters:
appender
- an operation that appends to the SQL fragmentvalue
- a Java object whose value can be represented as a SQL literaldialect
- the SQL dialect
-
-