Class DB2ResultColumn

  • All Implemented Interfaces:
    Serializable

    public class DB2ResultColumn
    extends ResultColumn
    The DB2 column result implementation.

    ATTENTION: Blob columns must be processed at instantiation because the engine closes the result set and the data won't be accessible hence the processObject(Object) implementation.

    Since:
    2.0.0
    Author:
    Rui Vilao (rui.vilao@feedzai.com)
    See Also:
    Serialized Form
    • Constructor Detail

      • DB2ResultColumn

        public DB2ResultColumn​(String name,
                               Object val)
        Creates a new instance of DB2ResultColumn.
        Parameters:
        name - The column name.
        val - The value.
    • Method Detail

      • processObject

        protected Object processObject​(Object o)
        Description copied from class: ResultColumn
        Processes an object. This method is to be overwritten by implementations that need to do some processing before the ResultSet closes.
        Overrides:
        processObject in class ResultColumn
        Parameters:
        o - The object in need of some kind of processing before being set.
        Returns:
        The processed object.
        See Also:
        DB2ResultColumn