Class AggregationCombineFnAdapter<T>

java.lang.Object
org.apache.beam.sdk.extensions.sql.impl.transform.agg.AggregationCombineFnAdapter<T>

public class AggregationCombineFnAdapter<T> extends Object
Wrapper Combine.CombineFns for aggregation function calls.
  • Field Details

    • EMPTY_SCHEMA

      public static final Schema EMPTY_SCHEMA
    • EMPTY_ROW

      public static final Row EMPTY_ROW
  • Constructor Details

    • AggregationCombineFnAdapter

      public AggregationCombineFnAdapter()
  • Method Details

    • createCombineFn

      public static Combine.CombineFn<?,?,?> createCombineFn(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.core.AggregateCall call, Schema.Field field, String functionName)
      Creates either a UDAF or a built-in Combine.CombineFn.
    • createCombineFnAnalyticsFunctions

      public static Combine.CombineFn<?,?,?> createCombineFnAnalyticsFunctions(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.core.AggregateCall call, Schema.Field field, String functionName)
      Creates either a UDAF or a built-in Combine.CombineFn for Analytic Functions.
    • createConstantCombineFn

      public static Combine.CombineFn<Row,?,Row> createConstantCombineFn()