Class ColumnHandlerFactory.Context<T>

  • Type Parameters:
    T - class type of columnHandler
    Enclosing interface:
    ColumnHandlerFactory

    public static final class ColumnHandlerFactory.Context<T>
    extends java.lang.Object
    Context needed for creating a ColumnHandler. Determines type, ie. Integer for *IntegerColumnHandler.
    • Constructor Detail

      • Context

        public Context​(java.lang.Class<T> type,
                       java.lang.String columnName,
                       int jdbcType,
                       DBDatabaseInfo.ColumnSQLType sqlType,
                       org.springframework.jdbc.support.lob.LobHandler lobHandler,
                       SQLWriter sqlWriter)
    • Method Detail

      • getColumnName

        public java.lang.String getColumnName()
      • getJdbcType

        public int getJdbcType()
      • getLobHandler

        public org.springframework.jdbc.support.lob.LobHandler getLobHandler()
      • getSqlWriter

        public SQLWriter getSqlWriter()
      • getType

        public java.lang.Class<T> getType()
      • apply

        public void apply​(ColumnHandler<T> ch)
        Applies this context on a ColumnHandler.
        Parameters:
        ch - colHandler to be modified