Package org.hibernate.spatial
Class GeometryLiteralFormatter<T>
java.lang.Object
org.hibernate.spatial.GeometryLiteralFormatter<T>
- All Implemented Interfaces:
Serializable
,JdbcLiteralFormatter<T>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final String
protected final org.geolatte.geom.codec.Wkt.Dialect
-
Constructor Summary
ConstructorsConstructorDescriptionGeometryLiteralFormatter
(JavaType<T> javaType, org.geolatte.geom.codec.Wkt.Dialect wktDialect, String geomFromTextName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Field Details
-
javaType
-
wktDialect
protected final org.geolatte.geom.codec.Wkt.Dialect wktDialect -
geomFromTextName
-
-
Constructor Details
-
GeometryLiteralFormatter
-
-
Method Details
-
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
-