Class SqlStatementImpl

java.lang.Object
com.mysql.cj.xdevapi.SqlStatementImpl
All Implemented Interfaces:
SqlStatement, Statement<SqlStatement,​SqlResult>

public class SqlStatementImpl
extends java.lang.Object
implements SqlStatement
SqlStatement implementation.
  • Nested Class Summary

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

    Statement.LockContention
  • Constructor Summary

    Constructors 
    Constructor Description
    SqlStatementImpl​(MysqlxSession mysqlxSession, java.lang.String sql)
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    SqlStatement bind​(java.util.List<java.lang.Object> values)
    Bind a list of objects numerically starting at 0.
    SqlStatement bind​(java.util.Map<java.lang.String,​java.lang.Object> values)
    Bind the set of arguments named by the keys in the map to the associated values in the map.
    SqlStatement clearBindings()
    Clear all bindings for this statement.
    SqlResult execute()
    Execute the statement synchronously.
    java.util.concurrent.CompletableFuture<SqlResult> executeAsync()
    Execute the statement asynchronously.

    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