Package com.mysql.cj.xdevapi
Interface RemoveStatement
- All Superinterfaces:
Statement<RemoveStatement,Result>
- All Known Implementing Classes:
RemoveStatementImpl
public interface RemoveStatement extends Statement<RemoveStatement,Result>
A statement requesting to remove a set of documents.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mysql.cj.xdevapi.Statement
Statement.LockContention -
Method Summary
Modifier and Type Method Description RemoveStatementlimit(long numberOfRows)Add/replace the document limit for the removal.RemoveStatementorderBy(java.lang.String... sortFields)Deprecated.RemoveStatementsort(java.lang.String... sortFields)Add/replace the order specification for the removal.Methods inherited from interface com.mysql.cj.xdevapi.Statement
bind, bind, bind, bind, clearBindings, execute, executeAsync
-
Method Details
-
orderBy
Deprecated.Add/replace the order specification for the removal.- Parameters:
sortFields- sort expression- Returns:
RemoveStatement
-
sort
Add/replace the order specification for the removal.- Parameters:
sortFields- sort expression- Returns:
RemoveStatement
-
limit
Add/replace the document limit for the removal.- Parameters:
numberOfRows- limit- Returns:
RemoveStatement
-