SqlStatement implementation.
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private MysqlxSession | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | SqlStatementImpl(MysqlxSession
com. instance.SQL statement string. sql)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public SqlStatement | bind(List<Object>
list of objects to bind values)Overrides default com. Bind a list of objects numerically starting at 0. |
| public SqlStatement | bind(Map<String, Object>
the map containing key-value pairs to bind values)Overrides default com. Bind the set of arguments named by the keys in the map to the associated values in the map. |
| public SqlStatement | clearBindings()
Overrides default com. Clear all bindings for this statement. |
| public SqlResult | |
| public CompletableFuture | executeAsync()
Implements com. Execute the statement asynchronously. |
| args | back to summary |
|---|---|
| private List<Object> args | |
| mysqlxSession | back to summary |
|---|---|
| private MysqlxSession mysqlxSession | |
| sql | back to summary |
|---|---|
| private String sql | |
| SqlStatementImpl | back to summary |
|---|---|
| public SqlStatementImpl(MysqlxSession mysqlxSession, String sql) Constructor.
| |
| bind | back to summary |
|---|---|
| public SqlStatement bind(List<Object> values) Overrides default com. Doc from com. Bind a list of objects numerically starting at 0.
| |
| bind | back to summary |
|---|---|
| public SqlStatement bind(Map<String, Object> values) Overrides default com. Doc from com. Bind the set of arguments named by the keys in the map to the associated values in the map.
| |
| clearBindings | back to summary |
|---|---|
| public SqlStatement clearBindings() Overrides default com. Doc from com. Clear all bindings for this statement.
| |
| execute | back to summary |
|---|---|
| public SqlResult execute() Implements com. Doc from com. Execute the statement synchronously. | |
| executeAsync | back to summary |
|---|---|
| public CompletableFuture Implements com. Doc from com. Execute the statement asynchronously.
| |