com.holonplatform.core.query

## Interface QueryConfiguration

- All Superinterfaces:
    ExpressionResolver.ExpressionResolverHandler, ParameterSet, Serializable

      public interface QueryConfiguration
      extends ParameterSet, ExpressionResolver.ExpressionResolverHandler

  Interface to provide `Query` configuration elements for query building and execution.
  Since:
    5.0.0
  See Also:
    `Query`

- - ### Nested Class Summary

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

      `ParameterSet.Builder<S extends ParameterSet>`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Optional<QueryAggregation>` | `getAggregation()` Get the query results aggregation clause.
    `Optional<QueryFilter>` | `getFilter()` Get the query filter.
    `Optional<Integer>` | `getLimit()` Get result set limit.
    `Optional<Integer>` | `getOffset()` Get 0-based results offset.
    `Optional<QuerySort>` | `getSort()` Get the query sort.
    `Optional<DataTarget<?>>` | `getTarget()` Get the data target.

    - ### Methods inherited from interface com.holonplatform.core.ParameterSet

      `builder, forEachParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameterIf, getParameterIf, hasNotNullParameter, hasNotNullParameter, hasParameter, hasParameter, hasParameters`

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

      `resolve`

- - ### Method Detail

    - #### getTarget

          Optional<DataTarget<?>> getTarget()

      Get the data target.
      Returns:
        Optional `DataTarget` of the query

    - #### getLimit

          Optional<Integer> getLimit()

      Get result set limit.
      Returns:
        Results limit, an empty Optional indicates no limit.

    - #### getOffset

          Optional<Integer> getOffset()

      Get 0-based results offset.
      Returns:
        Results offset 0-based index. an empty Optional indicates no offset.

    - #### getFilter

          Optional<QueryFilter> getFilter()

      Get the query filter.
      Returns:
        Optional query filter

    - #### getSort

          Optional<QuerySort> getSort()

      Get the query sort.
      Returns:
        Optional query sort

    - #### getAggregation

          Optional<QueryAggregation> getAggregation()

      Get the query results aggregation clause.
      Returns:
        Optional query results aggregation clause

Copyright © 2017 The Holon Platform. All rights reserved.