|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.python.core.PyObject | +--com.ziclix.python.sql.PyStatement
Class PyStatement
Field Summary | |
---|---|
static PyClass |
__class__
Field __class__ |
static int |
STATEMENT_CALLABLE
Field STATEMENT_CALLABLE |
static int |
STATEMENT_PREPARED
Field STATEMENT_PREPARED |
static int |
STATEMENT_STATIC
Field STATEMENT_STATIC |
Constructor Summary | |
---|---|
PyStatement(java.sql.Statement statement,
java.lang.Object sql,
int style)
Constructor PyStatement |
|
PyStatement(java.sql.Statement statement,
Procedure procedure)
Constructor PyStatement |
Method Summary | |
---|---|
void |
__del__()
Delete the statement. |
PyObject |
__findattr__(java.lang.String name)
Gets the value of the attribute name. |
PyString |
__repr__()
Method __repr__ |
PyString |
__str__()
Method __str__ |
static void |
classDictInit(PyObject dict)
Initializes the object's namespace. |
void |
close()
Method close |
void |
execute(PyCursor cursor,
PyObject params,
PyObject bindings)
Method execute |
java.lang.String |
toString()
Method toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int STATEMENT_STATIC
public static final int STATEMENT_PREPARED
public static final int STATEMENT_CALLABLE
public static PyClass __class__
Constructor Detail |
public PyStatement(java.sql.Statement statement, java.lang.Object sql, int style)
statement
- sql
- style
- public PyStatement(java.sql.Statement statement, Procedure procedure)
statement
- procedure
- Method Detail |
public PyString __str__()
__str__
in class PyObject
public PyString __repr__()
__repr__
in class PyObject
public java.lang.String toString()
toString
in class java.lang.Object
public PyObject __findattr__(java.lang.String name)
__findattr__
in class PyObject
name
-
PyObject.__findattr__(PyString)
public static void classDictInit(PyObject dict)
dict
- public void __del__()
public void execute(PyCursor cursor, PyObject params, PyObject bindings) throws java.sql.SQLException
java.sql.SQLException
public void close()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |