| Modifier and Type | Field and Description |
|---|---|
| pack-priv Agent | |
| pack-priv int | |
| pack-priv final ArrayList | |
| public Cursor | |
| public Cursor | |
| private boolean | |
| private boolean | |
| pack-priv ClientConnection | |
| public String | |
| pack-priv String | |
| protected boolean | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv int | |
| private static long | fetchedRowBase
For use in debugging setLargeMaxRows() method added by JDBC 4.2 |
| pack-priv int | |
| pack-priv int[] | |
| pack-priv String[] | |
| pack-priv ClientResultSet | |
| private int | |
| private static final int | |
| private static final int | |
| pack-priv boolean | |
| pack-priv static final int | |
| pack-priv boolean | |
| pack-priv static final int | |
| pack-priv static final int | |
| protected boolean | |
| pack-priv boolean | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private MaterialStatement | |
| pack-priv int | |
| pack-priv long | |
| pack-priv boolean | |
| private static final int | OUTSIDE
State constants used by the FSM inside getStatementToken. |
| private Statement | owner
The owner of this statement, if any. |
| pack-priv ClientPreparedStatement | |
| pack-priv ClientResultSet | |
| public int | |
| pack-priv int | |
| pack-priv ClientResultSet[] | |
| pack-priv ColumnMetaData | |
| public int | |
| private Section | |
| private Section | setSpecialRegisterSection_
This variable keeps track of a Section dediacted to writeSpecialRegister. |
| pack-priv Cursor | |
| protected int | |
| pack-priv int | |
| pack-priv int | |
| protected static final String | |
| protected ArrayList | |
| pack-priv long | |
| private SqlWarning |
| Access | Constructor and Description |
|---|---|
| private | |
| public | |
| public | ClientStatement(Agent agent, ClientConnection connection, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | addBatch(String
typically this is a SQL sql)INSERT or
UPDATE statementImplements java. Statement object.
|
| pack-priv String | |
| public void | cancel()
Implements java. Statement object if both the DBMS and
driver support aborting an SQL statement.
|
| pack-priv void | |
| pack-priv final void | |
| pack-priv final void | |
| protected void | |
| private void | |
| protected final void | checkForStoredProcResultSetCount(int
one of executeType)executeQueryMethod__,
executeUpdateMethod__ and executeMethod__Checks that a stored procedure returns the correct number of result sets given its execute type. |
| private void | checkResultSetCount(int
one of executeType)executeQueryMethod__,
executeUpdateMethod__ and executeMethod__Checks that the number of result sets returned by the statement is consistent with the executed type. |
| public void | clearBatch()
Implements java. Statement object's current list of
SQL commands.
|
| public void | clearWarnings()
Implements java. Statement
object.
|
| pack-priv final void | |
| public void | close()
Implements java. Statement object's database
and JDBC resources immediately instead of waiting for
this to happen when it is automatically closed.
|
| private void | |
| pack-priv void | |
| public void | closeOnCompletion()
Implements java. Statement will be closed when all its
dependent result sets are closed.
|
| pack-priv void | |
| public void | |
| public void | completeExecuteCall(Sqlca sqlca, Cursor singletonParams, ClientResultSet[] resultSets)
Implements org. |
| public void | completeExecuteCall(Sqlca sqlca, Cursor singletonParams)
Implements org. |
| public void | completeExecuteCallOpenQuery(Sqlca sqlca, ClientResultSet resultSet, ColumnMetaData resultSetMetaData, Section generatedSection)
Implements org. |
| public void | |
| public void | |
| public void | completeLocalCommit(Iterator<E> listenerIterator)
Implements org. |
| public void | completeLocalRollback(Iterator<E> listenerIterator)
Implements org. |
| public void | completeOpenQuery(Sqlca sqlca, ClientResultSet resultSet)
Implements org. |
| public void | |
| public void | completePrepareDescribeOutput(ColumnMetaData resultSetMetaData, Sqlca sqlca)
Implements org. |
| public int | |
| pack-priv String | |
| public boolean | execute(String
any SQL statement sql)Implements java. |
| public boolean | execute(String
any SQL statement sql, int a constant indicating whether auto-generated
keys should be made available for retrieval using the method
autoGeneratedKeys)getGeneratedKeys; one of the following constants:
Statement.RETURN_GENERATED_KEYS or
Statement.NO_GENERATED_KEYSImplements java. |
| public boolean | execute(String
any SQL statement sql, int[] an array of the indexes of the columns in the
inserted row that should be made available for retrieval by a
call to the method columnIndexes)getGeneratedKeysImplements java. |
| public boolean | execute(String
any SQL statement sql, String[] an array of the names of the columns in the inserted
row that should be made available for retrieval by a call to the
method columnNames)getGeneratedKeysImplements java. |
| public int[] | executeBatch()
Implements java. |
| private long[] | |
| public long[] | executeLargeBatch()
Overrides default java. |
| public long | executeLargeUpdate(String
an SQL Data Manipulation Language (DML) statement,
such as sql)INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.Overrides default java. INSERT,
UPDATE, or DELETE statement or an
SQL statement that returns nothing, such as an SQL DDL statement.
|
| public long | executeLargeUpdate(String
an SQL Data Manipulation Language (DML) statement,
such as sql, int INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.a flag indicating whether auto-generated keys
should be made available for retrieval;
one of the following constants:
autoGeneratedKeys)Statement.RETURN_GENERATED_KEYS
Statement.NO_GENERATED_KEYSOverrides default java. Statement object
should be made available for retrieval.
|
| public long | executeLargeUpdate(String
an SQL Data Manipulation Language (DML) statement,
such as sql, int[] INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.an array of column indexes indicating the columns
that should be returned from the inserted row columnIndexes)Overrides default java. |
| public long | executeLargeUpdate(String
an SQL Data Manipulation Language (DML) statement,
such as sql, String[] INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.an array of the names of the columns that should be
returned from the inserted row columnNames)Overrides default java. |
| public ResultSet | executeQuery(String
an SQL statement to be sent to the database, typically a
static SQL sql)SELECT statementImplements java. ResultSet object.
|
| private ClientResultSet | |
| public int | executeUpdate(String
an SQL Data Manipulation Language (DML) statement, such as sql)INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.Implements java. INSERT,
UPDATE, or DELETE statement or an
SQL statement that returns nothing, such as an SQL DDL statement.
|
| public int | executeUpdate(String
an SQL Data Manipulation Language (DML) statement, such as sql, int INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.a flag indicating whether auto-generated keys
should be made available for retrieval;
one of the following constants:
autoGeneratedKeys)Statement.RETURN_GENERATED_KEYS
Statement.NO_GENERATED_KEYSImplements java. Statement object
should be made available for retrieval.
|
| public int | executeUpdate(String
an SQL Data Manipulation Language (DML) statement, such as sql, int[] INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.an array of column indexes indicating the columns
that should be returned from the inserted row columnIndexes)Implements java. |
| public int | executeUpdate(String
an SQL Data Manipulation Language (DML) statement, such as sql, String[] INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.an array of the names of the columns that should be
returned from the inserted row columnNames)Implements java. |
| private long | |
| pack-priv boolean | |
| pack-priv String[] | |
| protected void | finalize()
Overrides java. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public Connection | getConnection()
Implements java. Connection object
that produced this Statement object.
|
| public ConnectionCallbackInterface | |
| public int | getFetchDirection()
Implements java. Statement object.
|
| public int | getFetchSize()
Implements java. ResultSet objects
generated from this Statement object.
|
| public ResultSet | getGeneratedKeys()
Implements java. Statement object.
|
| public ColumnMetaData | |
| protected String | Returns: name of java.sql interfaceReturns the name of the java.sql interface implemented by this class. |
| public long | getLargeMaxRows()
Overrides default java. ResultSet object produced by this
Statement object can contain.
|
| public long | getLargeUpdateCount()
Overrides default java. ResultSet object or there are no more results, -1
is returned.
|
| public MaterialStatement | |
| public int | getMaxFieldSize()
Implements java. ResultSet
object produced by this Statement object.
|
| public int | getMaxRows()
Implements java. ResultSet object produced by this
Statement object can contain.
|
| public boolean | getMoreResults()
Implements java. Statement object's next result, returns
true if it is a ResultSet object, and
implicitly closes any current ResultSet
object(s) obtained with the method getResultSet.
|
| public boolean | getMoreResults(int
one of the following current)Statement
constants indicating what should happen to current
ResultSet objects obtained using the method
getResultSet:
Statement.CLOSE_CURRENT_RESULT,
Statement.KEEP_CURRENT_RESULT, or
Statement.CLOSE_ALL_RESULTSImplements java. Statement object's next result, deals with
any current ResultSet object(s) according to the instructions
specified by the given flag, and returns
true if the next result is a ResultSet object.
|
| private boolean | |
| pack-priv final Statement | Returns: The designated owner of this statement, ornull if none.Returns the owner of this statement, if any. |
| public int | getQueryTimeout()
Implements java. Statement object to execute.
|
| public ResultSet | getResultSet()
Implements java. ResultSet object.
|
| public int | getResultSetConcurrency()
Implements java. ResultSet objects
generated by this Statement object.
|
| public int | getResultSetHoldability()
Implements java. ResultSet objects
generated by this Statement object.
|
| public int | getResultSetType()
Implements java. ResultSet objects
generated by this Statement object.
|
| public Section | |
| protected SqlWarning | |
| private String | Returns: first significant SQL tokenStep past any initial non-significant characters and comments to find first significant SQL token so we can classify statement. |
| public int | getUpdateCount()
Implements java. ResultSet object or there are no more results, -1
is returned.
|
| public SQLWarning | getWarnings()
Implements java. Statement object.
|
| protected void | |
| private void | |
| private void | |
| private void | |
| private void | initStatement(int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)
|
| public boolean | Returns: true if closed, false otherwise.Implements java. |
| public boolean | isCloseOnCompletion()
Implements java. Statement will be
closed when all its dependent result sets are closed.
|
| private String | Returns: identifier or unmodified stringinput string sql)Minion of getStatementToken. |
| private boolean | |
| public boolean | Returns: The value of the poolable hint.Implements java. |
| public boolean | |
| public boolean | Returns: true if this implements the interface or directly or indirectly wraps an object that does.a Class defining an interface. iface)Implements java. iface is implemented
|
| public void | |
| private void | |
| private void | |
| pack-priv void | |
| pack-priv void | markClosed(boolean
if true the Statement will be removed
from the open statements list and PreparedStatement will also be removed
from commit and rollback listeners list in
removeListener)org.apache.derby.client.am.Connection.This method cleans up client-side resources held by this Statement. |
| private void | |
| private void | |
| pack-priv final void | markResultSetsClosed(boolean
if true the ResultSets will be removed
from the commit and rollback listeners list in
removeListener)org.apache.derby.client.am.Connection.Mark all ResultSets associated with this statement as closed. |
| pack-priv void | |
| pack-priv void | |
| private void | |
| protected static ClientPreparedStatement | |
| pack-priv final void | |
| pack-priv final void | |
| private void | |
| pack-priv void | |
| private void | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| protected void | |
| public void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| public void | resetStatement(Agent agent, ClientConnection connection, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)
|
| private void | resetUserControllableAttributes()
Resets attributes that can be modified by the user through the
|
| pack-priv void | resultSetCommitting(ClientResultSet
The ResultSet to be closed closingRS)Convenience method for resultSetCommitting(ClientResultSet, boolean) |
| pack-priv boolean | resultSetCommitting(ClientResultSet
The ResultSet to be closed closingRS, boolean A Boolean indicating whether this method
is part of a chain of write from client to Server writeChain)Method that checks to see if any other ResultSets are open. |
| public void | setCursorName(String
the new cursor name, which must be unique within
a connection name)Implements java. String, which
will be used by subsequent Statement object
execute methods.
|
| public void | setEscapeProcessing(boolean
true to enable escape processing;
false to disable itImplements java. |
| public void | setFetchDirection(int
the initial direction for processing rows direction)Implements java. ResultSet
objects created using this Statement object.
|
| public static void | setFetchedRowBase(long
Base value to add to row count for debug purposes newBase)Debug method used to test the setLargeMaxRows() method added by JDBC 4.2. |
| public void | setFetchSize(int
the number of rows to fetch rows)Implements java. ResultSet objects generated by this Statement.
|
| public void | setLargeMaxRows(long
the new max rows limit; zero means there is no limit maxRows)Overrides default java. ResultSet object generated by this Statement
object can contain to the given number.
|
| public void | |
| public void | setMaxFieldSize(int
the new column size limit in bytes; zero means there is no limit max)Implements java. ResultSet
object produced by this Statement object.
|
| public void | setMaxRows(int
the new max rows limit; zero means there is no limit maxRows)Implements java. ResultSet object generated by this Statement
object can contain to the given number.
|
| protected final void | |
| public void | setPoolable(boolean
requests that the Statement be pooled if true
and not be pooled if false. poolable)Implements java. |
| public void | setQueryTimeout(int
the new query timeout limit in seconds; zero means
there is no limit seconds)Implements java. Statement object to execute to the given number of seconds.
|
| protected void | |
| protected void | |
| public void | |
| protected String | |
| public <T> T | Returns: an object that implements the interfacea class defining an interface iface)Implements java. this if this class implements the specified interface.
|
| private boolean | |
| pack-priv final void | |
| pack-priv final boolean | writeCloseResultSets(boolean allowAutoCommits)
The connection close processing passes allowAutoCommits=false because if we drove an auto-commits after each statement close, then when we issue close requests on non-held cursors the server would complain that the non-held cursor was already closed from the previous statement's auto-commit. |
| private boolean | |
| pack-priv void | writeExecuteCall(boolean outputExpected, String procedureName, Section section, int fetchSize, boolean suppressResultSets, int resultSetType, ColumnMetaData parameterMetaData, Object[] inputs)
|
| private Section | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void |