|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ziclix.python.sql.DataHandler com.ziclix.python.sql.FilterDataHandler
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.
Constructor Summary | |
FilterDataHandler(DataHandler delegate)
Constructor FilterDataHandler |
Method Summary | |
PyObject |
__chain__()
Returns a list of datahandlers chained together through the use of delegation. |
PyObject |
getPyObject(java.sql.ResultSet set,
int col,
int type)
Method getPyObject |
PyObject |
getRowId(java.sql.Statement stmt)
Returns the row id of the last executed statement. |
void |
postExecute(java.sql.Statement stmt)
Method postExecute |
void |
preExecute(java.sql.Statement stmt)
Method preExecute |
void |
setJDBCObject(java.sql.PreparedStatement stmt,
int index,
PyObject object)
Method setJDBCObject |
void |
setJDBCObject(java.sql.PreparedStatement stmt,
int index,
PyObject object,
int type)
Method setJDBCObject |
Methods inherited from class com.ziclix.python.sql.DataHandler |
checkNull, getMetaDataName, getProcedure, getPyObject, getSystemDataHandler, read, read, registerOut, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FilterDataHandler(DataHandler delegate)
delegate
- Method Detail |
public PyObject getRowId(java.sql.Statement stmt) throws java.sql.SQLException
getRowId
in class DataHandler
stmt
-
java.sql.SQLException
public void preExecute(java.sql.Statement stmt) throws java.sql.SQLException
preExecute
in class DataHandler
stmt
-
java.sql.SQLException
public void postExecute(java.sql.Statement stmt) throws java.sql.SQLException
postExecute
in class DataHandler
stmt
-
java.sql.SQLException
public void setJDBCObject(java.sql.PreparedStatement stmt, int index, PyObject object) throws java.sql.SQLException
setJDBCObject
in class DataHandler
stmt
- index
- object
-
java.sql.SQLException
public void setJDBCObject(java.sql.PreparedStatement stmt, int index, PyObject object, int type) throws java.sql.SQLException
setJDBCObject
in class DataHandler
stmt
- index
- object
- type
-
java.sql.SQLException
public PyObject getPyObject(java.sql.ResultSet set, int col, int type) throws java.sql.SQLException
getPyObject
in class DataHandler
set
- col
- type
-
java.sql.SQLException
public PyObject __chain__()
__chain__
in class DataHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |