Packages

c

ai.chronon.flink.window

FlinkRowAggregationFunction

class FlinkRowAggregationFunction extends AggregateFunction[Map[String, Any], TimestampedIR, TimestampedIR]

Wrapper Flink aggregator around Chronon's RowAggregator. Relies on Flink to pass in the correct set of events for the tile. As the aggregates produced by this function are used on the serving side along with other pre-aggregates, we don't 'finalize' the Chronon RowAggregator and instead return the intermediate representation.

(This cannot be a RichAggregateFunction because Flink does not support Rich functions in windows.)

Linear Supertypes
AggregateFunction[Map[String, Any], TimestampedIR, TimestampedIR], Function, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FlinkRowAggregationFunction
  2. AggregateFunction
  3. Function
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FlinkRowAggregationFunction(groupBy: GroupBy, inputSchema: Seq[(String, DataType)])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(element: Map[String, Any], accumulatorIr: TimestampedIR): TimestampedIR
    Definition Classes
    FlinkRowAggregationFunction → AggregateFunction
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def createAccumulator(): TimestampedIR
    Definition Classes
    FlinkRowAggregationFunction → AggregateFunction
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getResult(accumulatorIr: TimestampedIR): TimestampedIR
    Definition Classes
    FlinkRowAggregationFunction → AggregateFunction
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. lazy val logger: Logger
    Annotations
    @transient()
  16. def merge(aIr: TimestampedIR, bIr: TimestampedIR): TimestampedIR
    Definition Classes
    FlinkRowAggregationFunction → AggregateFunction
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toChrononRow(value: Map[String, Any], tsMills: Long): Row
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AggregateFunction[Map[String, Any], TimestampedIR, TimestampedIR]

Inherited from Function

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped