RemoveStatement implementation.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CompletableFuture | executeAsync()
Implements com. Execute the statement asynchronously. |
| protected Result | executePreparedStatement()
Implements abstract com. Executes a previously server-prepared statement. |
| public Result | executeStatement()
Implements abstract com. Executes the statement directly (non-prepared). |
| protected XMessage | getPrepareStatementXMessage()
Implements abstract com. Returns the |
| public RemoveStatement | orderBy(String...
sort expression sortFields)Overrides com. Implements com.
Deprecated
Add/replace the order specification for the removal. |
| public RemoveStatement | where(String
expression searchCondition)Overrides com.
Deprecated
Deprecated in Connector/J 8.0.17. Please use filter criteria in the operation starting method.
Add search condition to this statement. |
| RemoveStatementImpl | back to summary |
|---|---|
| pack-priv RemoveStatementImpl(MysqlxSession mysqlxSession, String schema, String collection, String criteria) | |
| executeAsync | back to summary |
|---|---|
| public CompletableFuture Implements com. Doc from com. Execute the statement asynchronously.
| |
| executePreparedStatement | back to summary |
|---|---|
| protected Result executePreparedStatement() Implements abstract com. Doc from com. Executes a previously server-prepared statement. Implementation is dependent on the statement type. | |
| executeStatement | back to summary |
|---|---|
| public Result executeStatement() Implements abstract com. Doc from com. Executes the statement directly (non-prepared). Implementation is dependent on the statement type. | |
| getPrepareStatementXMessage | back to summary |
|---|---|
| protected XMessage getPrepareStatementXMessage() Implements abstract com. Doc from com. Returns the | |
| orderBy | back to summary |
|---|---|
| public RemoveStatement orderBy(String... sortFields) Overrides com. Implements com. Doc from com. Deprecated
Add/replace the order specification for the removal.
| |
| where | back to summary |
|---|---|
| public RemoveStatement where(String searchCondition) Overrides com. Doc from com. Deprecated Deprecated in Connector/J 8.0.17. Please use filter criteria in the operation starting method. Add search condition to this statement.
table.delete().where("age == 13").execute();
| |