| Modifier and Type | Field and Description |
|---|---|
| protected static PyList | __members__
Field __members__ |
| protected static PyList | __methods__
Field __methods__ |
| private boolean | closed
Whether this statement is closed. |
| private Object | sql
The underlying sql, a String or a Procedure. |
| pack-priv Statement | statement
The underlying java.sql.Statement. |
| public static final int | STATEMENT_CALLABLE
Denotes a stored procedure call. |
| public static final int | STATEMENT_PREPARED
Denotes a PreparedStatement either explicitly created by the user, or from a cursor (due to the presence of bind parameters). |
| public static final int | STATEMENT_STATIC
Denotes a simple Statement with no parameters. |
| private int | style
One of the above styles. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public PyObject | Returns: the attribute for the given nameOverrides org. Gets the value of the attribute name. |
| public PyString | __str__()
Overrides org. Equivalent to the standard Python __str__ method. |
| public PyUnicode | |
| public static void | |
| public void | |
| public void | |
| private void | |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |
| __members__ | back to summary |
|---|---|
| protected static PyList __members__ Field __members__ | |
| __methods__ | back to summary |
|---|---|
| protected static PyList __methods__ Field __methods__ | |
| closed | back to summary |
|---|---|
| private boolean closed Whether this statement is closed. | |
| sql | back to summary |
|---|---|
| private Object sql The underlying sql, a String or a Procedure. | |
| statement | back to summary |
|---|---|
| pack-priv Statement statement The underlying java.sql.Statement. | |
| STATEMENT_CALLABLE | back to summary |
|---|---|
| public static final int STATEMENT_CALLABLE Denotes a stored procedure call. | |
| STATEMENT_PREPARED | back to summary |
|---|---|
| public static final int STATEMENT_PREPARED Denotes a PreparedStatement either explicitly created by the user, or from a cursor (due to the presence of bind parameters). | |
| STATEMENT_STATIC | back to summary |
|---|---|
| public static final int STATEMENT_STATIC Denotes a simple Statement with no parameters. | |
| style | back to summary |
|---|---|
| private int style One of the above styles. | |
| PyStatement | back to summary |
|---|---|
| public PyStatement(Statement statement, Object sql, int style) Constructor PyStatement | |
| PyStatement | back to summary |
|---|---|
| public PyStatement(Statement statement, Procedure procedure) Constructor PyStatement | |
| __del__ | back to summary |
|---|---|
| public void __del__() Delete the statement. | |
| __findattr_ex__ | back to summary |
|---|---|
| public PyObject __findattr_ex__(String name) Overrides org. Gets the value of the attribute name. | |
| __str__ | back to summary |
|---|---|
| public PyString __str__() Overrides org. Doc from org. Equivalent to the standard Python __str__ method. The default implementation (in
| |
| __unicode__ | back to summary |
|---|---|
| public PyUnicode __unicode__() Overrides org.
| |
| classDictInit | back to summary |
|---|---|
| public static void classDictInit(PyObject dict) Initializes the object's namespace. | |
| close | back to summary |
|---|---|
| public void close() Method close | |
| execute | back to summary |
|---|---|
| public void execute(PyCursor cursor, PyObject params, PyObject bindings) throws SQLException Method execute | |
| prepare | back to summary |
|---|---|
| private void prepare(PyCursor cursor, PyObject params, PyObject bindings) throws SQLException Method prepare | |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Implements org. Doc from org. Traverses all directly contained
| |