com.holonplatform.core.query

## Interface QueryFunction<T>

- Type Parameters:
    `T` - Function result type
  All Superinterfaces:
    Expression
  All Known Subinterfaces:
    QueryFunction.Avg, QueryFunction.Count, QueryFunction.Max<T>, QueryFunction.Min<T>, QueryFunction.Sum<T>

      public interface QueryFunction<T>
      extends Expression

  Represents a generic function to be used in a `Query` definition.
  Since:
    5.0.0

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `QueryFunction.Avg` A function which represents the average value of a query result.
    `static interface` | `QueryFunction.Count` A function which represents the count of a query result values.
    `static interface` | `QueryFunction.Max<T>` A function which represents the largest value of a query result.
    `static interface` | `QueryFunction.Min<T>` A function which represents the smallest value of a query result.
    `static interface` | `QueryFunction.Sum<T>` A function which represents the sum of a query result values.

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

      `Expression.ExpressionResolverFunction<E extends Expression,R extends Expression>, Expression.InvalidExpressionException`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Class<? extends T>` | `getResultType()` Get the function result type.

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

      `validate`

- - ### Method Detail

    - #### getResultType

          Class<? extends T> getResultType()

      Get the function result type.
      Returns:
        Function result type

Copyright © 2017 The Holon Platform. All rights reserved.