| Modifier and Type | Method and Description |
|---|---|
Document |
DocumentCondition.getDocument()
Gets the document to be used in the select
|
static Document |
Documents.of(String name,
Object value)
An alias to
of(String, Object) |
static <V> Document |
Document.of(String name,
V value)
Creates a document instance
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Document> |
DocumentEntity.find(String documentName)
Find document a document from document name
|
List<Document> |
DocumentEntity.getDocuments()
List of all documents
|
static List<Document> |
Documents.of(Map<String,?> values)
|
| Modifier and Type | Method and Description |
|---|---|
void |
DocumentEntity.add(Document document)
add a document within
DocumentEntity |
static DocumentCondition |
DocumentCondition.between(Document document)
Creates a
DocumentCondition that has a Condition.BETWEEN,
it means a select will scanning to a document collection that is between two values informed
on a document name. |
DocumentCondition |
DocumentCondition.DocumentConditionProvider.between(Document document)
Creates a
Condition.BETWEEN operation |
static DocumentCondition |
DocumentCondition.eq(Document document)
Creates a
DocumentCondition that has a Condition.EQUALS, it means a select will scanning to a
document collection that has the same name and equals value informed in this document. |
static DocumentCondition |
DocumentCondition.gt(Document document)
Creates a
DocumentCondition that has a Condition.GREATER_THAN,
it means a select will scanning to a document collection that has the same name and the value
greater than informed in this document. |
static DocumentCondition |
DocumentCondition.gte(Document document)
Creates a
DocumentCondition that has a Condition.GREATER_EQUALS_THAN,
it means a select will scanning to a document collection that has the same name and the value
greater or equals than informed in this document. |
static DocumentCondition |
DocumentCondition.in(Document document)
Creates a
DocumentCondition that has a Condition.IN, it means a select will scanning to a
document collection that has the same name and the value is within informed in this document. |
DocumentCondition |
DocumentCondition.DocumentConditionProvider.in(Document document)
Creates a
Condition.IN operation |
static DocumentCondition |
DocumentCondition.like(Document document)
Creates a
DocumentCondition that has a Condition.LIKE, it means a select will scanning to a
document collection that has the same name and the value is like than informed in this document. |
static DocumentCondition |
DocumentCondition.lt(Document document)
Creates a
DocumentCondition that has a Condition.LESSER_THAN, it means a select will scanning to a
document collection that has the same name and the value lesser than informed in this document. |
static DocumentCondition |
DocumentCondition.lte(Document document)
Creates a
DocumentCondition that has a Condition.LESSER_EQUALS_THAN,
it means a select will scanning to a document collection that has the same name and the value
lesser or equals than informed in this document. |
| Modifier and Type | Method and Description |
|---|---|
void |
DocumentEntity.addAll(Iterable<Document> documents)
add all documents within
DocumentEntity |
static DocumentEntity |
DocumentEntity.of(String name,
List<Document> documents)
Creates a
DocumentEntity instance |
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.