| Modifier and Type | Interface and Description |
|---|---|
static interface |
DeleteQuery.DeleteQueryProvider
A provider to
DeleteQuery |
| Modifier and Type | Method and Description |
|---|---|
String |
getEntity()
The entity name
|
List<String> |
getFields()
The fields that will delete in this query, if this fields is empty, this query will remove the whole entity.
|
Optional<Where> |
getWhere()
The condition at this
DeleteQuery, if the Where is empty that means will delete the whole entities. |
static DeleteQuery |
parse(String query)
Obtains an instance of
DeleteQuery from a text string. |
List<String> getFields()
String getEntity()
Optional<Where> getWhere()
DeleteQuery, if the Where is empty that means will delete the whole entities.Where entity otherwise Optional.empty()static DeleteQuery parse(String query)
DeleteQuery from a text string.query - the queryDeleteQuery 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.