com.ziclix.python.sql
public class PyStatement extends PyObject
Version: $Revision: 2542 $
Field Summary | |
---|---|
static int | STATEMENT_CALLABLE
Field STATEMENT_CALLABLE |
static int | STATEMENT_PREPARED
Field STATEMENT_PREPARED |
static int | STATEMENT_STATIC
Field STATEMENT_STATIC |
static PyClass | __class__
Field __class__ |
Constructor Summary | |
---|---|
PyStatement(Statement statement, Object sql, int style)
Constructor PyStatement
| |
PyStatement(Statement statement, Procedure procedure)
Constructor PyStatement
|
Method Summary | |
---|---|
static void | classDictInit(PyObject dict)
Initializes the object's namespace.
|
void | close()
Method close |
void | execute(PyCursor cursor, PyObject params, PyObject bindings)
Method execute
|
String | toString()
Method toString
|
void | __del__()
Delete the statement. |
PyObject | __findattr__(String name)
Gets the value of the attribute name.
|
PyString | __repr__()
Method __repr__
|
PyString | __str__()
Method __str__
|
Parameters: statement sql style
Parameters: statement procedure
Parameters: dict
Parameters: cursor params bindings
Throws: SQLException
Returns: String
Parameters: name
Returns: the attribute for the given name
Returns: PyString
Returns: PyString