类 RemoveStatementImpl
- java.lang.Object
-
- com.mysql.cj.xdevapi.PreparableStatement<RES_T>
-
- com.mysql.cj.xdevapi.FilterableStatement<RemoveStatement,Result>
-
- com.mysql.cj.xdevapi.RemoveStatementImpl
-
- 所有已实现的接口:
RemoveStatement,Statement<RemoveStatement,Result>
public class RemoveStatementImpl extends FilterableStatement<RemoveStatement,Result> implements RemoveStatement
RemoveStatementimplementation.
-
-
嵌套类概要
-
从类继承的嵌套类/接口 com.mysql.cj.xdevapi.PreparableStatement
PreparableStatement.PreparableStatementFinalizer, PreparableStatement.PreparedState
-
从接口继承的嵌套类/接口 com.mysql.cj.xdevapi.Statement
Statement.LockContention
-
-
字段概要
-
从类继承的字段 com.mysql.cj.xdevapi.FilterableStatement
filterParams
-
从类继承的字段 com.mysql.cj.xdevapi.PreparableStatement
mysqlxSession, preparedState, preparedStatementId
-
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 CompletableFuture<Result>executeAsync()Execute the statement asynchronously.protected ResultexecutePreparedStatement()Executes a previously server-prepared statement.ResultexecuteStatement()Executes the statement directly (non-prepared).protected XMessagegetPrepareStatementXMessage()Returns theXMessageneeded to prepare this statement.RemoveStatementorderBy(String... sortFields)已过时。RemoveStatementwhere(String searchCondition)已过时。Deprecated in Connector/J 8.0.17.-
从类继承的方法 com.mysql.cj.xdevapi.FilterableStatement
bind, clearBindings, isRelational, limit, offset, sort
-
从类继承的方法 com.mysql.cj.xdevapi.PreparableStatement
deallocatePrepared, execute, getMessageBuilder, resetPrepareState, setReprepareState
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 com.mysql.cj.xdevapi.RemoveStatement
limit, sort
-
-
-
-
方法详细资料
-
orderBy
@Deprecated public RemoveStatement orderBy(String... sortFields)
已过时。从类复制的说明:FilterableStatementAdd sort expressions to this statement.DocResult docs = this.collection.find().orderBy("$._id").execute(); docs = this.collection.find().sort("$.x", "$.y").execute();- 指定者:
orderBy在接口中RemoveStatement- 覆盖:
orderBy在类中FilterableStatement<RemoveStatement,Result>- 参数:
sortFields- sort expressions- 返回:
- this statement
-
executeStatement
public Result executeStatement()
从类复制的说明:PreparableStatementExecutes the statement directly (non-prepared). Implementation is dependent on the statement type.- 指定者:
executeStatement在类中PreparableStatement<Result>- 返回:
- the object returned from the lower level statement execution
-
getPrepareStatementXMessage
protected XMessage getPrepareStatementXMessage()
从类复制的说明:PreparableStatementReturns theXMessageneeded to prepare this statement. Implementation is dependent on the statement type.- 指定者:
getPrepareStatementXMessage在类中PreparableStatement<Result>- 返回:
- the
XMessagethat prepares this statement
-
executePreparedStatement
protected Result executePreparedStatement()
从类复制的说明:PreparableStatementExecutes a previously server-prepared statement. Implementation is dependent on the statement type.- 指定者:
executePreparedStatement在类中PreparableStatement<Result>- 返回:
- the object returned from the lower level statement execution
-
executeAsync
public CompletableFuture<Result> executeAsync()
从接口复制的说明:StatementExecute the statement asynchronously.- 指定者:
executeAsync在接口中Statement<RemoveStatement,Result>- 返回:
CompletableFuturefor result
-
where
@Deprecated public RemoveStatement where(String searchCondition)
已过时。Deprecated in Connector/J 8.0.17. Please use filter criteria in the operation starting method.从类复制的说明:FilterableStatementAdd search condition to this statement.table.delete().where("age == 13").execute();- 覆盖:
where在类中FilterableStatement<RemoveStatement,Result>- 参数:
searchCondition- expression- 返回:
- this statement
-
-