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
Ordering
- Alphabetic
- By Inheritance
Inherited
- FlinkRowAggregationFunction
- AggregateFunction
- Function
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new FlinkRowAggregationFunction(groupBy: GroupBy, inputSchema: Seq[(String, DataType)])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(element: Map[String, Any], accumulatorIr: TimestampedIR): TimestampedIR
- Definition Classes
- FlinkRowAggregationFunction → AggregateFunction
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
createAccumulator(): TimestampedIR
- Definition Classes
- FlinkRowAggregationFunction → AggregateFunction
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getResult(accumulatorIr: TimestampedIR): TimestampedIR
- Definition Classes
- FlinkRowAggregationFunction → AggregateFunction
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: Logger
- Annotations
- @transient()
-
def
merge(aIr: TimestampedIR, bIr: TimestampedIR): TimestampedIR
- Definition Classes
- FlinkRowAggregationFunction → AggregateFunction
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toChrononRow(value: Map[String, Any], tsMills: Long): Row
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()