com.holonplatform.async.datastore.operation

## Interface AsyncQueryAdapter<C extends QueryConfiguration>

- Type Parameters:
    `C` - Query configuration type

      public interface AsyncQueryAdapter<C extends QueryConfiguration>

  Adapter to perform an asynchronous query execution using a `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.

  Since:
    5.2.0
  See Also:
    `AsyncQuery`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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`.

- - ### Method Detail

    - #### stream

          <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`.
      Type Parameters:
        `R` - Query results type
      Parameters:
        `queryOperation` - Query operation (not null)
      Returns:
        Query results `CompletionStage` stream

Copyright © 2019 The Holon Platform. All rights reserved.