public interface DocumentQueryParser
DocumentCollectionManager.| Modifier and Type | Method and Description |
|---|---|
DocumentPreparedStatement |
prepare(String query,
DocumentCollectionManager collectionManager,
DocumentObserverParser observer)
Executes a query and returns a
DocumentPreparedStatement, when the operations are insert, update and select
command it will return the result of the operation when the command is delete it will return an empty collection. |
Stream<DocumentEntity> |
query(String query,
DocumentCollectionManager collectionManager,
DocumentObserverParser observer)
Executes a query and returns the result, when the operations are insert, update and select
command it will return the result of the operation when the command is delete it will return an empty collection.
|
Stream<DocumentEntity> query(String query, DocumentCollectionManager collectionManager, DocumentObserverParser observer)
query - the query as StringcollectionManager - the collection managerobserver - the observerNullPointerException - when there is parameter nullIllegalArgumentException - when the query has value parametersQueryException - when there is error in the syntaxDocumentPreparedStatement prepare(String query, DocumentCollectionManager collectionManager, DocumentObserverParser observer)
DocumentPreparedStatement, when the operations are insert, update and select
command it will return the result of the operation when the command is delete it will return an empty collection.query - the query as StringcollectionManager - the collection managerobserver - the observerDocumentPreparedStatement instanceNullPointerException - when there is parameter nullIllegalArgumentException - when the query has value parametersQueryException - when there is error in the syntaxCopyright © 2017–2020 Eclipse Foundation. All rights reserved.