com.holonplatform.core.query

## Interface Query

- All Superinterfaces:
    DatastoreCommodity, DataTarget.DataTargetSupport<Query>, ExpressionResolver.ExpressionResolverBuilder<Query>, QueryAggregation.QueryAggregationSupport<Query>, QueryBuilder<Query>, QueryFilter.QueryFilterSupport<Query>, QueryProjectionOperations<Stream,List,Optional,Long>, QueryResults, QuerySort.QuerySortSupport<Query>, Serializable

      public interface Query
      extends QueryBuilder<Query>, QueryResults, DatastoreCommodity

  Represents a query, which can be used to configure and execute a query on the data managed by a `Datastore`.

  The query is configured through the `QueryBuilder` API and executed using the `QueryResults` API, which provides methods to execute the query and obtain the results using a `QueryProjection` to specify the expected result type.

  Extends `DatastoreCommodity` to allow query definition and registration using the `Datastore` commodities paradigm.

  Since:
    5.0.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.holonplatform.core.query.QueryResults

      `QueryResults.QueryNonUniqueResultException`

  - ### Method Summary

    - ### Methods inherited from interface com.holonplatform.core.query.QueryBuilder

      `distinct, getQueryConfiguration, limit, offset, parameter, parameter, restrict`

    - ### Methods inherited from interface com.holonplatform.core.query.QueryFilter.QueryFilterSupport

      `filter, filter, filter`

    - ### Methods inherited from interface com.holonplatform.core.query.QuerySort.QuerySortSupport

      `sort, sort, sort`

    - ### Methods inherited from interface com.holonplatform.core.datastore.DataTarget.DataTargetSupport

      `target, target`

    - ### Methods inherited from interface com.holonplatform.core.query.QueryAggregation.QueryAggregationSupport

      `aggregate, aggregate, aggregate`

    - ### Methods inherited from interface com.holonplatform.core.ExpressionResolver.ExpressionResolverBuilder

      `withExpressionResolver`

    - ### Methods inherited from interface com.holonplatform.core.query.QueryResults

      `count, countAll, findOne, findOne, findOne, list, list, list, stream, stream, stream`

Copyright © 2019 The Holon Platform. All rights reserved.