Top Description Constructors Methods
com.ziclix.python.sql.handler

public Class InformixDataHandler

extends FilterDataHandler
Class Inheritance
Imports
com.informix.jdbc.IfmxStatement, com.ziclix.python.sql.DataHandler, .FilterDataHandler, java.io.InputStream, java.sql.Blob, .PreparedStatement, .ResultSet, .SQLException, .Statement, .Types, org.python.core.Py, .PyFile, .PyObject, .PyString

Informix specific data handling.
Author
brian zimmer

Constructor Summary

AccessConstructor and Description
public
InformixDataHandler(DataHandler
the delegate DataHandler
datahandler
)

Decorator for handling Informix specific issues.

Method Summary

Modifier and TypeMethod and Description
public PyObject

Returns:

the mapped Python object
getPyObject
(ResultSet
the result set
set
,
int
the column number
col
,
int
the SQL type
type
)

Overrides com.ziclix.python.sql.FilterDataHandler.getPyObject.

Override to handle Informix related issues.

public PyObject

Returns:

PyObject
getRowId
(Statement stmt)

Overrides com.ziclix.python.sql.FilterDataHandler.getRowId.

Returns the serial for the statement.

public void
setJDBCObject(PreparedStatement stmt, int index, PyObject object, int type)

Overrides com.ziclix.python.sql.FilterDataHandler.setJDBCObject.

Provide fixes for Ifx driver.

public void
setJDBCObject(PreparedStatement stmt, int index, PyObject object)

Overrides com.ziclix.python.sql.FilterDataHandler.setJDBCObject.

Provide fixes for Ifx driver.

Inherited from com.ziclix.python.sql.FilterDataHandler:
__chain__postExecutepreExecute

Constructor Detail

InformixDataHandlerback to summary
public InformixDataHandler(DataHandler datahandler)

Decorator for handling Informix specific issues.

Parameters
datahandler:DataHandler

the delegate DataHandler

Method Detail

getPyObjectback to summary
public PyObject getPyObject(ResultSet set, int col, int type) throws SQLException

Overrides com.ziclix.python.sql.FilterDataHandler.getPyObject.

Override to handle Informix related issues.

Parameters
set:ResultSet

the result set

col:int

the column number

type:int

the SQL type

Returns:PyObject

the mapped Python object

Annotations
@SuppressWarnings:fallthrough
@Override
Exceptions
SQLException:
thrown for a sql exception
getRowIdback to summary
public PyObject getRowId(Statement stmt) throws SQLException

Overrides com.ziclix.python.sql.FilterDataHandler.getRowId.

Returns the serial for the statement.

Returns:PyObject

PyObject

Annotations
@Override
Exceptions
SQLException:

Doc from com.ziclix.python.sql.DataHandler.getRowId.

thrown if an exception occurs

setJDBCObjectback to summary
public void setJDBCObject(PreparedStatement stmt, int index, PyObject object, int type) throws SQLException

Overrides com.ziclix.python.sql.FilterDataHandler.setJDBCObject.

Provide fixes for Ifx driver.

Annotations
@Override
setJDBCObjectback to summary
public void setJDBCObject(PreparedStatement stmt, int index, PyObject object) throws SQLException

Overrides com.ziclix.python.sql.FilterDataHandler.setJDBCObject.

Provide fixes for Ifx driver.

Annotations
@Override