C
- Query configuration typepublic interface AsyncQueryAdapter<C extends QueryConfiguration>
QueryOperation
instance, which provides
both the QueryConfiguration
and the QueryProjection
.
The Stream
of query results is provided using a CompletionStage
to handle the results asynchronously.
AsyncQuery
Modifier and Type | Method and Description |
---|---|
<R> CompletionStage<Stream<R>> |
stream(QueryOperation<C,R> queryOperation)
Execute an asynchronous query using provided
QueryOperation and return the results as a
CompletionStage of query results Stream . |
<R> CompletionStage<Stream<R>> stream(QueryOperation<C,R> queryOperation)
QueryOperation
and return the results as a
CompletionStage
of query results Stream
.R
- Query results typequeryOperation
- Query operation (not null)CompletionStage
streamCopyright © 2019 The Holon Platform. All rights reserved.