类 InsertStatementImpl
- java.lang.Object
-
- com.mysql.cj.xdevapi.InsertStatementImpl
-
- 所有已实现的接口:
InsertStatement,Statement<InsertStatement,InsertResult>
public class InsertStatementImpl extends Object implements InsertStatement
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 com.mysql.cj.xdevapi.Statement
Statement.LockContention
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 InsertResultexecute()Execute the statement synchronously.CompletableFuture<InsertResult>executeAsync()Execute the statement asynchronously.InsertStatementvalues(List<Object> row)Add a row (sequence of values) to this statement.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 com.mysql.cj.xdevapi.InsertStatement
values
-
-
-
-
方法详细资料
-
execute
public InsertResult execute()
从接口复制的说明:StatementExecute the statement synchronously.- 指定者:
execute在接口中Statement<InsertStatement,InsertResult>- 返回:
- result of statement execution
-
executeAsync
public CompletableFuture<InsertResult> executeAsync()
从接口复制的说明:StatementExecute the statement asynchronously.- 指定者:
executeAsync在接口中Statement<InsertStatement,InsertResult>- 返回:
CompletableFuturefor result
-
values
public InsertStatement values(List<Object> row)
从接口复制的说明:InsertStatementAdd a row (sequence of values) to this statement.- 指定者:
values在接口中InsertStatement- 参数:
row- list of values to insert- 返回:
InsertStatement
-
-