org.apache.derby.iapi.jdbc
Interface EngineStatement

All Superinterfaces:
java.sql.Statement, java.sql.Wrapper
All Known Subinterfaces:
EngineCallableStatement40, EnginePreparedStatement
All Known Implementing Classes:
BrokeredCallableStatement, BrokeredCallableStatement40, BrokeredPreparedStatement, BrokeredPreparedStatement40, BrokeredStatement, BrokeredStatement40, EmbedCallableStatement, EmbedCallableStatement20, EmbedCallableStatement30, EmbedCallableStatement40, EmbedPreparedStatement, EmbedPreparedStatement20, EmbedPreparedStatement30, EmbedPreparedStatement40, EmbedStatement, EmbedStatement40

public interface EngineStatement
extends java.sql.Statement

Additional methods the embedded engine exposes on its Statement object implementations. An internal api only, mainly for the network server. Allows consistent interaction between emebdded statements and brokered statements.


Field Summary
 
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
Method Summary
 void closeOnCompletion()
           
 long[] executeLargeBatch()
           
 long executeLargeUpdate(java.lang.String sql)
           
 long executeLargeUpdate(java.lang.String sql, int autoGeneratedKeys)
           
 long executeLargeUpdate(java.lang.String sql, int[] columnIndexes)
           
 long executeLargeUpdate(java.lang.String sql, java.lang.String[] columnNames)
           
 long getLargeMaxRows()
           
 long getLargeUpdateCount()
           
 boolean getMoreResults(int current)
          Identical to the JDBC 3 getMoreResults(int).
 int getResultSetHoldability()
          Identical to the JDBC 3 getResultSetHoldability(int).
 boolean isClosed()
          Identical to the JDBC 4 isClosed() method.
 boolean isCloseOnCompletion()
           
 void setLargeMaxRows(long max)
           
 
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetType, getUpdateCount, getWarnings, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Method Detail

getMoreResults

boolean getMoreResults(int current)
                       throws java.sql.SQLException
Identical to the JDBC 3 getMoreResults(int).

Specified by:
getMoreResults in interface java.sql.Statement
Throws:
java.sql.SQLException
See Also:
Statement.getMoreResults(int)

getResultSetHoldability

int getResultSetHoldability()
                            throws java.sql.SQLException
Identical to the JDBC 3 getResultSetHoldability(int).

Specified by:
getResultSetHoldability in interface java.sql.Statement
Throws:
java.sql.SQLException
See Also:
Statement.getResultSetHoldability()

isClosed

boolean isClosed()
                 throws java.sql.SQLException
Identical to the JDBC 4 isClosed() method.

Specified by:
isClosed in interface java.sql.Statement
Throws:
java.sql.SQLException

closeOnCompletion

void closeOnCompletion()
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

isCloseOnCompletion

boolean isCloseOnCompletion()
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

executeLargeBatch

long[] executeLargeBatch()
                         throws java.sql.SQLException
Throws:
java.sql.SQLException

executeLargeUpdate

long executeLargeUpdate(java.lang.String sql)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

executeLargeUpdate

long executeLargeUpdate(java.lang.String sql,
                        int autoGeneratedKeys)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

executeLargeUpdate

long executeLargeUpdate(java.lang.String sql,
                        int[] columnIndexes)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

executeLargeUpdate

long executeLargeUpdate(java.lang.String sql,
                        java.lang.String[] columnNames)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

getLargeMaxRows

long getLargeMaxRows()
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getLargeUpdateCount

long getLargeUpdateCount()
                         throws java.sql.SQLException
Throws:
java.sql.SQLException

setLargeMaxRows

void setLargeMaxRows(long max)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

Built on Wed 2013-06-12 15:21:56+0000, from revision ???

Apache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.