com.ziclix.python.sql.handler
Class InformixDataHandler
- java.lang.Object
-
- com.ziclix.python.sql.DataHandler
-
- com.ziclix.python.sql.FilterDataHandler
-
- com.ziclix.python.sql.handler.InformixDataHandler
-
public class InformixDataHandler extends FilterDataHandler
Informix specific data handling.
-
-
Constructor Summary
Constructors Constructor and Description InformixDataHandler(DataHandler datahandler)Decorator for handling Informix specific issues.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description PyObjectgetPyObject(java.sql.ResultSet set, int col, int type)Override to handle Informix related issues.PyObjectgetRowId(java.sql.Statement stmt)Returns the serial for the statement.voidsetJDBCObject(java.sql.PreparedStatement stmt, int index, PyObject object)Provide fixes for Ifx driver.voidsetJDBCObject(java.sql.PreparedStatement stmt, int index, PyObject object, int type)Provide fixes for Ifx driver.-
Methods inherited from class com.ziclix.python.sql.FilterDataHandler
__chain__, postExecute, preExecute
-
Methods inherited from class com.ziclix.python.sql.DataHandler
checkNull, getMetaDataName, getProcedure, getPyObject, getSystemDataHandler, read, read, registerOut, toString
-
-
-
-
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:
getRowIdin classFilterDataHandler- 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.SQLExceptionProvide fixes for Ifx driver.- Overrides:
setJDBCObjectin classFilterDataHandler- Parameters:
stmt-index-object-type-- Throws:
java.sql.SQLException
-
setJDBCObject
public void setJDBCObject(java.sql.PreparedStatement stmt, int index, PyObject object) throws java.sql.SQLExceptionProvide fixes for Ifx driver.- Overrides:
setJDBCObjectin classFilterDataHandler- 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:
getPyObjectin classFilterDataHandler- Parameters:
set- the result setcol- the column numbertype- the SQL type- Returns:
- the mapped Python object
- Throws:
java.sql.SQLException- thrown for a sql exception
-
-
DataMelt 3.0 © DataMelt by jWork.ORG