Package herddb.jdbc
Interface PreparedStatementAsync
-
- All Superinterfaces:
java.lang.AutoCloseable,java.sql.PreparedStatement,java.sql.Statement,java.sql.Wrapper
- All Known Implementing Classes:
HerdDBPreparedStatement
public interface PreparedStatementAsync extends java.sql.PreparedStatementAn extension to JDBC PreparedStatement which supports Async dispatch.- Author:
- enrico.olivelli
-
-
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<int[]>executeBatchAsync()java.util.concurrent.CompletableFuture<java.lang.Long>executeLargeUpdateAsync()java.util.concurrent.CompletableFuture<java.lang.Integer>executeUpdateAsync()-
Methods inherited from interface java.sql.PreparedStatement
addBatch, clearParameters, execute, executeLargeUpdate, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
-
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
-
-
-
-
Method Detail
-
executeBatchAsync
java.util.concurrent.CompletableFuture<int[]> executeBatchAsync()
-
executeLargeUpdateAsync
java.util.concurrent.CompletableFuture<java.lang.Long> executeLargeUpdateAsync()
-
executeUpdateAsync
java.util.concurrent.CompletableFuture<java.lang.Integer> executeUpdateAsync()
-
-