| Modifier and Type | Interface and Description |
|---|---|
static interface |
SelectQuery.SelectQueryProvider
A provider to
SelectQuery |
| Modifier and Type | Method and Description |
|---|---|
String |
getEntity()
The entity name
|
List<String> |
getFields()
The fields that will retrieve in this query, if this fields is empty, this query will retrieve the whole entity.
|
long |
getLimit()
Statement limits the number of rows returned by a query,
|
List<Sort> |
getOrderBy()
The list of orders, it is used to sort the result-set in ascending or descending order.
|
long |
getSkip()
Statement defines where the query should start
|
Optional<Where> |
getWhere()
The condition at this
SelectQuery, if the Where is empty that means may retrieve the whole entities. |
static SelectQuery |
parse(String query)
Obtains an instance of
SelectQuery from a text string. |
List<String> getFields()
String getEntity()
Optional<Where> getWhere()
SelectQuery, if the Where is empty that means may retrieve the whole entities.Where entity otherwise Optional.empty()long getSkip()
long getLimit()
List<Sort> getOrderBy()
static SelectQuery parse(String query)
SelectQuery from a text string.query - the querySelectQuery 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.