public interface DocumentQuery
DocumentCollectionManager| Modifier and Type | Interface and Description |
|---|---|
static interface |
DocumentQuery.DocumentFrom
The DocumentFrom Query
|
static interface |
DocumentQuery.DocumentLimit
The Document Order whose define the the maximum number of results to retrieve.
|
static interface |
DocumentQuery.DocumentNameCondition
The base to name condition
|
static interface |
DocumentQuery.DocumentNameOrder
The Column name order to the builder
|
static interface |
DocumentQuery.DocumentNotCondition
The column not condition
|
static interface |
DocumentQuery.DocumentOrder
The Document Order whose define the sort in the query.
|
static interface |
DocumentQuery.DocumentQueryBuild
The last step to the build of
DocumentQuery. |
static interface |
DocumentQuery.DocumentSelect
The initial element in the Document query
|
static interface |
DocumentQuery.DocumentSelectProvider
A provider class of
DocumentQuery.DocumentSelect |
static interface |
DocumentQuery.DocumentSkip
The Document Order whose define the position of the first result to retrieve.
|
static interface |
DocumentQuery.DocumentWhere
The Document Where whose define the condition in the query.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<DocumentCondition> |
getCondition()
The conditions that contains in this
DocumentQuery
If empty, Optional.empty() is true, the implementation might either return an unsupported exception or returns same elements in the database. |
String |
getDocumentCollection()
The document collection name
|
List<String> |
getDocuments()
Returns the documents to returns in that query if empty will return all elements in the query.
|
long |
getLimit() |
long |
getSkip() |
List<Sort> |
getSorts()
The sorts that contains in this
DocumentQuery
The implementation might ignore this option. |
static DocumentQuery.DocumentSelect |
select()
Creates a query to Document
|
static DocumentQuery.DocumentSelect |
select(String... documents)
Creates a query to Document
|
long getLimit()
long getSkip()
String getDocumentCollection()
Optional<DocumentCondition> getCondition()
DocumentQuery
If empty, Optional.empty() is true, the implementation might either return an unsupported exception or returns same elements in the database.List<Sort> getSorts()
DocumentQuery
The implementation might ignore this option.List<String> getDocuments()
static DocumentQuery.DocumentSelect select(String... documents)
documents - - The document fields to query, optional.DocumentQuery.DocumentSelect instanceNullPointerException - when there is a null elementstatic DocumentQuery.DocumentSelect select()
DocumentQuery.DocumentSelect instanceNullPointerException - when there is a null elementCopyright © 2017–2020 Eclipse Foundation. All rights reserved.