Package com.ziclix.python.sql
Class FilterDataHandler
java.lang.Object
com.ziclix.python.sql.DataHandler
com.ziclix.python.sql.FilterDataHandler
- Direct Known Subclasses:
JDBC20DataHandler,JDBC30DataHandler
A FilterDataHandler contains some other DataHandler, which it uses
as its basic source of functionality, possibly transforming the calls
along the way or providing additional functionality. The class FilterDataHandler
itself simply overrides all methods of DataHandler with versions that
pass all requests to the contained data handler.
- Author:
- brian zimmer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of datahandlers chained together through the use of delegation.getPyObject(ResultSet set, int col, int type) Method getPyObjectReturns the row id of the last executed statement.voidpostExecute(Statement stmt) Method postExecutevoidpreExecute(Statement stmt) Method preExecutevoidsetJDBCObject(PreparedStatement stmt, int index, PyObject object) Method setJDBCObjectvoidsetJDBCObject(PreparedStatement stmt, int index, PyObject object, int type) Method setJDBCObjectMethods inherited from class com.ziclix.python.sql.DataHandler
checkNull, getMetaDataName, getProcedure, getPyObject, getSystemDataHandler, read, read, registerOut, toString
-
Constructor Details
-
FilterDataHandler
Constructor FilterDataHandler- Parameters:
delegate-
-
-
Method Details
-
getRowId
Returns the row id of the last executed statement.- Overrides:
getRowIdin classDataHandler- Parameters:
stmt-- Returns:
- PyObject
- Throws:
SQLException
-
preExecute
Method preExecute- Overrides:
preExecutein classDataHandler- Parameters:
stmt-- Throws:
SQLException
-
postExecute
Method postExecute- Overrides:
postExecutein classDataHandler- Parameters:
stmt-- Throws:
SQLException
-
setJDBCObject
Method setJDBCObject- Overrides:
setJDBCObjectin classDataHandler- Parameters:
stmt-index-object-- Throws:
SQLException
-
setJDBCObject
public void setJDBCObject(PreparedStatement stmt, int index, PyObject object, int type) throws SQLException Method setJDBCObject- Overrides:
setJDBCObjectin classDataHandler- Parameters:
stmt-index-object-type-- Throws:
SQLException
-
getPyObject
Method getPyObject- Overrides:
getPyObjectin classDataHandler- Parameters:
set-col-type-- Returns:
- PyObject
- Throws:
SQLException
-
__chain__
Returns a list of datahandlers chained together through the use of delegation.- Overrides:
__chain__in classDataHandler- Returns:
- a list of datahandlers chained together through the use of delegation
-