|
||||||||||
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 |
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, getProcedureName, getPyObject, read, read, registerOut |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FilterDataHandler(DataHandler delegate)
Method Detail |
public PyObject getRowId(java.sql.Statement stmt) throws java.sql.SQLException
getRowId
in class DataHandler
java.sql.SQLException
public void preExecute(java.sql.Statement stmt) throws java.sql.SQLException
preExecute
in class DataHandler
java.sql.SQLException
public void postExecute(java.sql.Statement stmt) throws java.sql.SQLException
postExecute
in class DataHandler
java.sql.SQLException
public void setJDBCObject(java.sql.PreparedStatement stmt, int index, PyObject object) throws java.sql.SQLException
setJDBCObject
in class DataHandler
stmt
- the current PreparedStatementindex
- the index for which this object is boundobject
- the PyObject in question
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
- the current PreparedStatementindex
- the index for which this object is boundobject
- the PyObject in questiontype
- the java.sql.Types for which this PyObject should be bound
java.sql.SQLException
public PyObject getPyObject(java.sql.ResultSet set, int col, int type) throws java.sql.SQLException
getPyObject
in class DataHandler
set
- the current ResultSet set to the current rowcol
- the column number (adjusted properly for JDBC)type
- the column type
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |