Class GeometryLiteralFormatter<T>

    • Field Detail

      • javaType

        protected final JavaType<T> javaType
      • wktDialect

        protected final org.geolatte.geom.codec.Wkt.Dialect wktDialect
      • geomFromTextName

        protected final String geomFromTextName
    • Constructor Detail

      • GeometryLiteralFormatter

        public GeometryLiteralFormatter​(JavaType<T> javaType,
                                        org.geolatte.geom.codec.Wkt.Dialect wktDialect,
                                        String geomFromTextName)
    • 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 interface JdbcLiteralFormatter<T>
        Parameters:
        appender - an operation that appends to the SQL fragment
        value - a Java object whose value can be represented as a SQL literal
        dialect - the SQL dialect