public class RemoveStatementImpl extends FilterableStatement<RemoveStatement,Result> implements RemoveStatement
RemoveStatement implementation.PreparableStatement.PreparableStatementFinalizer, PreparableStatement.PreparedStateStatement.LockContentionfilterParamsmysqlxSession, preparedState, preparedStatementId| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<Result> |
executeAsync()
Execute the statement asynchronously.
|
protected Result |
executePreparedStatement()
Executes a previously server-prepared statement.
|
Result |
executeStatement()
Executes the statement directly (non-prepared).
|
protected XMessage |
getPrepareStatementXMessage()
Returns the
XMessage needed to prepare this statement. |
RemoveStatement |
orderBy(java.lang.String... sortFields)
Deprecated.
|
RemoveStatement |
where(java.lang.String searchCondition)
Deprecated.
Deprecated in Connector/J 8.0.17. Please use filter criteria in the operation starting method.
|
bind, clearBindings, isRelational, limit, offset, sortdeallocatePrepared, execute, getMessageBuilder, resetPrepareState, setReprepareStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlimit, sort@Deprecated public RemoveStatement orderBy(java.lang.String... sortFields)
FilterableStatement
DocResult docs = this.collection.find().orderBy("$._id").execute();
docs = this.collection.find().sort("$.x", "$.y").execute();
orderBy in interface RemoveStatementorderBy in class FilterableStatement<RemoveStatement,Result>sortFields - sort expressionspublic Result executeStatement()
PreparableStatementexecuteStatement in class PreparableStatement<Result>protected XMessage getPrepareStatementXMessage()
PreparableStatementXMessage needed to prepare this statement. Implementation is dependent on the statement type.getPrepareStatementXMessage in class PreparableStatement<Result>XMessage that prepares this statementprotected Result executePreparedStatement()
PreparableStatementexecutePreparedStatement in class PreparableStatement<Result>public java.util.concurrent.CompletableFuture<Result> executeAsync()
StatementexecuteAsync in interface Statement<RemoveStatement,Result>CompletableFuture for result@Deprecated public RemoveStatement where(java.lang.String searchCondition)
FilterableStatement
table.delete().where("age == 13").execute();
where in class FilterableStatement<RemoveStatement,Result>searchCondition - expression