| Modifier and Type | Interface and Description |
|---|---|
static interface |
UpdateQuery.UpdateQueryProvider
A provider to
UpdateQuery |
| Modifier and Type | Method and Description |
|---|---|
List<Condition> |
getConditions()
The list of changes as conditions.
|
String |
getEntity()
The entity name
|
Optional<JSONQueryValue> |
getValue()
Returns the value to update when the query uses JSON value instead of Conditions.
|
static UpdateQuery |
parse(String query)
Obtains an instance of
UpdateQuery from a text string. |
String getEntity()
List<Condition> getConditions()
Operator.EQUALS,
e.g., name = "any name"Optional<JSONQueryValue> getValue()
getConditions() and
getValue().
Therefore, execution will use just one operation type.JSONQueryValue or Optional.empty() when it uses getConditions()static UpdateQuery parse(String query)
UpdateQuery from a text string.query - the queryUpdateQuery instanceNullPointerException - when the query is nullQuerySyntaxException - if the text cannot be parsedProviderNotFoundException - when the provider is not foundCopyright © 2017–2019 Eclipse Foundation. All rights reserved.