|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.python.core.PyObject
com.ziclix.python.sql.PyStatement
public class PyStatement
Class PyStatement
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.python.core.PyObject |
|---|
PyObject.ConversionException |
| Field Summary | |
|---|---|
static int |
STATEMENT_CALLABLE
Denotes a stored procedure call. |
static int |
STATEMENT_PREPARED
Denotes a PreparedStatement either explicitly created by the user, or from a cursor (due to the presence of bind parameters). |
static int |
STATEMENT_STATIC
Denotes a simple Statement with no parameters. |
| Fields inherited from class org.python.core.PyObject |
|---|
TYPE |
| Constructor Summary | |
|---|---|
PyStatement(Statement statement,
Object sql,
int style)
Constructor PyStatement |
|
PyStatement(Statement statement,
Procedure procedure)
Constructor PyStatement |
|
| Method Summary | |
|---|---|
void |
__del__()
Delete the statement. |
PyObject |
__findattr_ex__(String name)
Gets the value of the attribute name. |
PyString |
__str__()
Equivalent to the standard Python __str__ method. |
PyUnicode |
__unicode__()
|
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()
|
| 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
| Constructor Detail |
|---|
public PyStatement(Statement statement,
Object sql,
int style)
statement - sql - style -
public PyStatement(Statement statement,
Procedure procedure)
statement - procedure - | Method Detail |
|---|
public PyUnicode __unicode__()
__unicode__ in class PyObjectpublic PyString __str__()
PyObjectPyObject is to
override the standard Java toString method.
__str__ in class PyObjectpublic String toString()
toString in class PyObjectpublic PyObject __findattr_ex__(String name)
__findattr_ex__ in class PyObjectname -
public static void classDictInit(PyObject dict)
dict - public void __del__()
public void execute(PyCursor cursor,
PyObject params,
PyObject bindings)
throws SQLException
cursor - params - bindings -
SQLExceptionpublic void close()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||