Annotation Interface AggregationFunction


@Keep @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface AggregationFunction
  • Element Details

    • value

      String value
      Default:
      ""
    • decomposable

      boolean decomposable
      Default:
      true
    • isOrderSensitive

      boolean isOrderSensitive
      Indicates whether the result of the function depends on the order in which data is fed in, which allows the engine to optimize away ORDER BY clauses in aggregation calls
      Default:
      false
    • hidden

      boolean hidden
      Default:
      false
    • alias

      String[] alias
      Default:
      {}
    • windowAccumulator

      Class<? extends WindowAccumulator> windowAccumulator
      Default:
      io.trino.spi.function.WindowAccumulator.class