Package org.apache.openjpa.slice.jdbc
Class DistributedStatement
- java.lang.Object
-
- org.apache.openjpa.slice.jdbc.DistributedTemplate<Statement>
-
- org.apache.openjpa.slice.jdbc.DistributedStatement
-
- All Implemented Interfaces:
AutoCloseable
,Iterable<Statement>
,Statement
,Wrapper
public class DistributedStatement extends DistributedTemplate<Statement>
A virtual Statement that delegates to many actual Statements.- Author:
- Pinaki Poddar
-
-
Field Summary
-
Fields inherited from class org.apache.openjpa.slice.jdbc.DistributedTemplate
con, master, stmts
-
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
-
-
Constructor Summary
Constructors Constructor Description DistributedStatement(DistributedConnection c)
-
Method Summary
-
Methods inherited from class org.apache.openjpa.slice.jdbc.DistributedTemplate
add, addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, iterator, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface java.sql.Statement
enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isSimpleIdentifier, setLargeMaxRows
-
-
-
-
Constructor Detail
-
DistributedStatement
public DistributedStatement(DistributedConnection c)
-
-