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

public Class MySQLDataHandler

extends RowIdHandler
Class Inheritance
Imports
java.io.BufferedInputStream, .ByteArrayInputStream, .InputStream, java.sql.PreparedStatement, .SQLException, .Types, org.python.core.PyFile, .PyObject, org.python.core.util.StringUtil, com.ziclix.python.sql.DataHandler

MySQL specific data handling.
Author
brian zimmer

Constructor Summary

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

Decorator for handling MySql specific issues.

Method Summary

Modifier and TypeMethod and Description
protected String
getRowIdMethodName()

Implements abstract com.ziclix.python.sql.handler.RowIdHandler.getRowIdMethodName.

Return the name of the method that returns the last row id. The method can take no arguments but the return type is flexible and will be figured out by the Jython runtime system.

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

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

Handle LONGVARCHAR.

Inherited from com.ziclix.python.sql.handler.RowIdHandler:
getRowId

Constructor Detail

MySQLDataHandlerback to summary
public MySQLDataHandler(DataHandler datahandler)

Decorator for handling MySql specific issues.

Parameters
datahandler:DataHandler

the delegate DataHandler

Method Detail

getRowIdMethodNameback to summary
protected String getRowIdMethodName()

Implements abstract com.ziclix.python.sql.handler.RowIdHandler.getRowIdMethodName.

Doc from com.ziclix.python.sql.handler.RowIdHandler.getRowIdMethodName.

Return the name of the method that returns the last row id. The method can take no arguments but the return type is flexible and will be figured out by the Jython runtime system.

Returns:String

name of the method that returns the last row id

Annotations
@Override

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

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

Handle LONGVARCHAR.

Annotations
@Override