Package com.mysql.cj.xdevapi
Class InsertStatementImpl
java.lang.Object
com.mysql.cj.xdevapi.InsertStatementImpl
- All Implemented Interfaces:
InsertStatement,Statement<InsertStatement,InsertResult>
public class InsertStatementImpl extends java.lang.Object implements InsertStatement
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mysql.cj.xdevapi.Statement
Statement.LockContention -
Method Summary
Modifier and Type Method Description InsertResultexecute()Execute the statement synchronously.java.util.concurrent.CompletableFuture<InsertResult>executeAsync()Execute the statement asynchronously.InsertStatementvalues(java.util.List<java.lang.Object> row)Add a row (sequence of values) to this statement.
-
Method Details
-
execute
Description copied from interface:StatementExecute the statement synchronously.- Specified by:
executein interfaceStatement<InsertStatement,InsertResult>- Returns:
- result of statement execution
-
executeAsync
Description copied from interface:StatementExecute the statement asynchronously.- Specified by:
executeAsyncin interfaceStatement<InsertStatement,InsertResult>- Returns:
CompletableFuturefor result
-
values
Description copied from interface:InsertStatementAdd a row (sequence of values) to this statement.- Specified by:
valuesin interfaceInsertStatement- Parameters:
row- list of values to insert- Returns:
InsertStatement
-