Class AddStatementImpl

java.lang.Object
com.mysql.cj.xdevapi.AddStatementImpl
All Implemented Interfaces:
AddStatement, Statement<AddStatement,​AddResult>

public class AddStatementImpl
extends java.lang.Object
implements AddStatement
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.mysql.cj.xdevapi.Statement

    Statement.LockContention
  • Method Summary

    Modifier and Type Method Description
    AddStatement add​(DbDoc... docs)
    Add a sequence of DbDocs.
    AddStatement add​(java.lang.String jsonString)
    Add a document as a JSON string.
    AddResult execute()
    Execute the statement synchronously.
    java.util.concurrent.CompletableFuture<AddResult> executeAsync()
    Execute the statement asynchronously.
    boolean isUpsert()
    Check the upsert flag.
    AddStatement setUpsert​(boolean upsert)
    Set upsert flag on this statement.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.mysql.cj.xdevapi.Statement

    bind, bind, bind, bind, clearBindings