| Modifier and Type | Interface and Description |
|---|---|
static interface |
InsertQuery.InsertQueryProvider
A provider to
InsertQuery |
| Modifier and Type | Method and Description |
|---|---|
List<Condition> |
getConditions()
The list of changes as conditions.
|
String |
getEntity()
The entity name
|
Optional<Duration> |
getTtl()
This duration set a time for data in an entity to expire.
|
Optional<JSONQueryValue> |
getValue()
Returns the value to insert when the query uses JSON value instead of Conditions.
|
static InsertQuery |
parse(String query)
Obtains an instance of
InsertQuery.InsertQueryProvider from a text string. |
String getEntity()
Optional<Duration> getTtl()
Optional.empty()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 InsertQuery parse(String query)
InsertQuery.InsertQueryProvider from a text string.query - the queryInsertQuery.InsertQueryProvider 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.