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

Class PostgresqlDataHandler



  • public class PostgresqlDataHandler
    extends RowIdHandler
    Postgresql specific data handling.
    • Constructor Detail

      • PostgresqlDataHandler

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

      • getPyObject

        public PyObject getPyObject(java.sql.ResultSet set,
                                    int col,
                                    int type)
                             throws java.sql.SQLException
        Override to handle Postgresql 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
      • setJDBCObject

        public void setJDBCObject(java.sql.PreparedStatement stmt,
                                  int index,
                                  PyObject object,
                                  int type)
                           throws java.sql.SQLException
        Provide fixes for Postgresql 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
        Description copied from class: FilterDataHandler
        Method setJDBCObject
        Overrides:
        setJDBCObject in class FilterDataHandler
        Parameters:
        stmt - the current PreparedStatement
        index - the index for which this object is bound
        object - the PyObject in question
        Throws:
        java.sql.SQLException

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.