UpdateStatement implementation.
| Modifier and Type | Field and Description |
|---|---|
| private UpdateParams |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CompletableFuture | executeAsync()
Implements com. Execute the statement asynchronously. |
| protected Result | executePreparedStatement()
Implements abstract com. Executes a previously server-prepared statement. |
| protected Result | executeStatement()
Implements abstract com. Executes the statement directly (non-prepared). |
| protected XMessage | getPrepareStatementXMessage()
Implements abstract com. Returns the |
| public UpdateStatement | set(Map<String, Object>
table name-value pairs fieldsAndValues)Implements com. Add the given set of updates to the statement. |
| public UpdateStatement | set(String
field name field, Object value to set value)Implements com. Add the given update to the statement setting field to value for all rows matching the search criteria. |
| updateParams | back to summary |
|---|---|
| private UpdateParams updateParams | |
| UpdateStatementImpl | back to summary |
|---|---|
| pack-priv UpdateStatementImpl(MysqlxSession mysqlxSession, String schema, String table) | |
| executeAsync | back to summary |
|---|---|
| public CompletableFuture Implements com. Doc from com. Execute the statement asynchronously.
| |
| executePreparedStatement | back to summary |
|---|---|
| protected Result executePreparedStatement() Implements abstract com. Doc from com. Executes a previously server-prepared statement. Implementation is dependent on the statement type. | |
| executeStatement | back to summary |
|---|---|
| protected Result executeStatement() Implements abstract com. Doc from com. Executes the statement directly (non-prepared). Implementation is dependent on the statement type. | |
| getPrepareStatementXMessage | back to summary |
|---|---|
| protected XMessage getPrepareStatementXMessage() Implements abstract com. Doc from com. Returns the | |
| set | back to summary |
|---|---|
| public UpdateStatement set(Map<String, Object> fieldsAndValues) Implements com. Doc from com. Add the given set of updates to the statement.
| |
| set | back to summary |
|---|---|
| public UpdateStatement set(String field, Object value) Implements com. Doc from com. Add the given update to the statement setting field to value for all rows matching the search criteria.
| |