Package com.mysql.cj.xdevapi
Class DeleteStatementImpl
java.lang.Object
com.mysql.cj.xdevapi.PreparableStatement<RES_T>
com.mysql.cj.xdevapi.FilterableStatement<DeleteStatement,Result>
com.mysql.cj.xdevapi.DeleteStatementImpl
- All Implemented Interfaces:
DeleteStatement,Statement<DeleteStatement,Result>
public class DeleteStatementImpl extends FilterableStatement<DeleteStatement,Result> implements DeleteStatement
DeleteStatement implementation.-
Nested Class Summary
Nested classes/interfaces inherited from class com.mysql.cj.xdevapi.PreparableStatement
PreparableStatement.PreparableStatementFinalizer, PreparableStatement.PreparedStateNested classes/interfaces inherited from interface com.mysql.cj.xdevapi.Statement
Statement.LockContention -
Field Summary
Fields inherited from class com.mysql.cj.xdevapi.PreparableStatement
mysqlxSession, preparedState, preparedStatementId -
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<Result>executeAsync()Execute the statement asynchronously.protected ResultexecutePreparedStatement()Executes a previously server-prepared statement.protected ResultexecuteStatement()Executes the statement directly (non-prepared).protected XMessagegetPrepareStatementXMessage()Returns theXMessageneeded to prepare this statement.Methods inherited from class com.mysql.cj.xdevapi.FilterableStatement
bind, clearBindings, isRelational, limit, offset, orderBy, sort, whereMethods inherited from class com.mysql.cj.xdevapi.PreparableStatement
deallocatePrepared, execute, getMessageBuilder, resetPrepareState, setReprepareState
-
Method Details
-
executeStatement
Description copied from class:PreparableStatementExecutes the statement directly (non-prepared). Implementation is dependent on the statement type.- Specified by:
executeStatementin classPreparableStatement<Result>- Returns:
- the object returned from the lower level statement execution
-
getPrepareStatementXMessage
Description copied from class:PreparableStatementReturns theXMessageneeded to prepare this statement. Implementation is dependent on the statement type.- Specified by:
getPrepareStatementXMessagein classPreparableStatement<Result>- Returns:
- the
XMessagethat prepares this statement
-
executePreparedStatement
Description copied from class:PreparableStatementExecutes a previously server-prepared statement. Implementation is dependent on the statement type.- Specified by:
executePreparedStatementin classPreparableStatement<Result>- Returns:
- the object returned from the lower level statement execution
-
executeAsync
Description copied from interface:StatementExecute the statement asynchronously.- Specified by:
executeAsyncin interfaceStatement<DeleteStatement,Result>- Returns:
CompletableFuturefor result
-