Documentation of 'com.ziclix.python.sql.handler.InformixDataHandler' Java class
InformixDataHandler
com.ziclix.python.sql.handler

Class InformixDataHandler



  • public class InformixDataHandler
    extends FilterDataHandler
    Informix specific data handling.
    • Constructor Detail

      • InformixDataHandler

        public InformixDataHandler(DataHandler datahandler)
        Decorator for handling Informix specific issues.
        Parameters:
        datahandler - the delegate DataHandler
    • Method Detail

      • getRowId

        public PyObject getRowId(java.sql.Statement stmt)
                          throws java.sql.SQLException
        Returns the serial for the statement.
        Overrides:
        getRowId in class FilterDataHandler
        Parameters:
        stmt -
        Returns:
        PyObject
        Throws:
        java.sql.SQLException
      • setJDBCObject

        public void setJDBCObject(java.sql.PreparedStatement stmt,
                                  int index,
                                  PyObject object,
                                  int type)
                           throws java.sql.SQLException
        Provide fixes for Ifx driver.
        Overrides:
        setJDBCObject in class FilterDataHandler
        Parameters:
        stmt -
        index -
        object -
        type -
        Throws:
        java.sql.SQLException
      • setJDBCObject

        public void setJDBCObject(java.sql.PreparedStatement stmt,
                                  int index,
                                  PyObject object)
                           throws java.sql.SQLException
        Provide fixes for Ifx driver.
        Overrides:
        setJDBCObject in class FilterDataHandler
        Parameters:
        stmt -
        index -
        object -
        Throws:
        java.sql.SQLException
      • getPyObject

        public PyObject getPyObject(java.sql.ResultSet set,
                                    int col,
                                    int type)
                             throws java.sql.SQLException
        Override to handle Informix related issues.
        Overrides:
        getPyObject in class FilterDataHandler
        Parameters:
        set - the result set
        col - the column number
        type - the SQL type
        Returns:
        the mapped Python object
        Throws:
        java.sql.SQLException - thrown for a sql exception

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.