Package com.mysql.cj.xdevapi
Interface InsertStatement
- All Superinterfaces:
Statement<InsertStatement,InsertResult>
- All Known Implementing Classes:
InsertStatementImpl
public interface InsertStatement extends Statement<InsertStatement,InsertResult>
A statement INSERTing new row(s) into a table.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mysql.cj.xdevapi.Statement
Statement.LockContention
-
Method Summary
Modifier and Type Method Description default InsertStatement
values(java.lang.Object... values)
Add a row (sequence of values) to this statement.InsertStatement
values(java.util.List<java.lang.Object> values)
Add a row (sequence of values) to this statement.Methods inherited from interface com.mysql.cj.xdevapi.Statement
bind, bind, bind, bind, clearBindings, execute, executeAsync
-
Method Details
-
values
Add a row (sequence of values) to this statement.- Parameters:
values
- list of values to insert- Returns:
InsertStatement
-
values
Add a row (sequence of values) to this statement.- Parameters:
values
- one or more values to insert- Returns:
InsertStatement
-