Class

pl.touk.nussknacker.engine.flink.util.transformer.aggregate

AggregatorFunction

Related Doc: package aggregate

Permalink

class AggregatorFunction[MapT[K, V]] extends LatelyEvictableStateFunction[ValueWithContext[StringKeyedValue[AnyRef]], ValueWithContext[AnyRef], MapT[Long, AnyRef]] with AggregatorFunctionMixin[MapT]

Linear Supertypes
AggregatorFunctionMixin[MapT], LatelyEvictableStateFunction[ValueWithContext[StringKeyedValue[AnyRef]], ValueWithContext[AnyRef], MapT[Long, AnyRef]], LatelyEvictableStateFunctionMixin[MapT[Long, AnyRef]], StateHolder[MapT[Long, AnyRef]], KeyedProcessFunction[String, ValueWithContext[StringKeyedValue[AnyRef]], ValueWithContext[AnyRef]], AbstractRichFunction, RichFunction, Function, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AggregatorFunction
  2. AggregatorFunctionMixin
  3. LatelyEvictableStateFunction
  4. LatelyEvictableStateFunctionMixin
  5. StateHolder
  6. KeyedProcessFunction
  7. AbstractRichFunction
  8. RichFunction
  9. Function
  10. Serializable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AggregatorFunction(aggregator: Aggregator, timeWindowLengthMillis: Long, nodeId: NodeId, aggregateElementType: TypingResult, aggregateTypeInformation: TypeInformation[AnyRef])(implicit rangeMap: FlinkRangeMap[MapT])

    Permalink

Type Members

  1. abstract class Context extends AnyRef

    Permalink
    Definition Classes
    KeyedProcessFunction
  2. type FlinkCtx = Context

    Permalink
  3. abstract class OnTimerContext extends Context

    Permalink
    Definition Classes
    KeyedProcessFunction

Abstract Value Members

  1. abstract object Context

    Permalink
    Definition Classes
    KeyedProcessFunction
  2. abstract object OnTimerContext

    Permalink
    Definition Classes
    KeyedProcessFunction

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addElementToState(value: ValueWithContext[StringKeyedValue[AnyRef]], timestamp: Long, timeService: TimerService, out: Collector[ValueWithContext[AnyRef]]): MapT[Long, Aggregate]

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  5. val aggregateElementType: TypingResult

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionAggregatorFunctionMixin
  6. val aggregateTypeInformation: TypeInformation[AnyRef]

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionAggregatorFunctionMixin
  7. val aggregator: Aggregator

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionAggregatorFunctionMixin
  8. def allowedOutOfOrderMs: Long

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  11. def close(): Unit

    Permalink
    Definition Classes
    AbstractRichFunction → RichFunction
    Annotations
    @throws( classOf[java.lang.Exception] )
  12. def computeFinalValue(newState: MapT[Long, Aggregate], timestamp: Long): AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  13. def computeFoldedAggregatedValue(state: MapT[Long, Aggregate], timestamp: Long): AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  14. def doMoveEvictionTime(time: Long, timeService: TimerService): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LatelyEvictableStateFunctionMixin → StateHolder
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def evictStates(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LatelyEvictableStateFunctionMixin
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. def getIterationRuntimeContext(): IterationRuntimeContext

    Permalink
    Definition Classes
    AbstractRichFunction → RichFunction
  20. def getRuntimeContext(): RuntimeContext

    Permalink
    Definition Classes
    AbstractRichFunction → RichFunction
  21. def handleElementAddedToState(newElementInStateTimestamp: Long, newElement: Element, nkCtx: api.Context, timeService: TimerService, out: Collector[ValueWithContext[AnyRef]]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  22. def handleNewElementAdded(value: ValueWithContext[StringKeyedValue[AnyRef]], timestamp: Long, timeService: TimerService, out: Collector[ValueWithContext[AnyRef]]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  23. def handleOnTimer(timestamp: Long, timerService: TimerService): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LatelyEvictableStateFunctionMixin
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. var latestEvictionTimeForKey: ValueState[Long]

    Permalink
    Attributes
    protected
    Definition Classes
    LatelyEvictableStateFunctionMixin
  27. lazy val metricUtils: MetricUtils

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  28. def minimalResolutionMs: Long

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  29. def moveEvictionTime(offset: Long, ctx: Context): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LatelyEvictableStateFunction
  30. def name: String

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. def newHistogram(): DropwizardHistogramWrapper

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  33. val nodeId: NodeId

    Permalink
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  36. def onTimer(timestamp: Long, ctx: OnTimerContext, out: Collector[ValueWithContext[AnyRef]]): Unit

    Permalink
    Definition Classes
    LatelyEvictableStateFunction → KeyedProcessFunction
  37. def open(parameters: Configuration): Unit

    Permalink
    Definition Classes
    LatelyEvictableStateFunctionMixin → RichFunction
  38. val outputType: TypingResult

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  39. def processElement(value: ValueWithContext[StringKeyedValue[AnyRef]], ctx: FlinkCtx, out: Collector[ValueWithContext[AnyRef]]): Unit

    Permalink
    Definition Classes
    AggregatorFunction → KeyedProcessFunction
  40. implicit val rangeMap: FlinkRangeMap[MapT]

    Permalink
  41. def readState(): MapT[Long, AnyRef]

    Permalink
    Attributes
    protected
    Definition Classes
    LatelyEvictableStateFunctionMixin → StateHolder
  42. def readStateOrInitial(): MapT[Long, Aggregate]

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  43. lazy val retrievedBucketsHistogram: Histogram

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  44. def setRuntimeContext(arg0: RuntimeContext): Unit

    Permalink
    Definition Classes
    AbstractRichFunction → RichFunction
  45. var state: ValueState[MapT[Long, AnyRef]]

    Permalink
    Attributes
    protected
    Definition Classes
    LatelyEvictableStateFunctionMixin
  46. def stateDescriptor: ValueStateDescriptor[MapT[Long, AnyRef]]

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  47. def stateForTimestampToRead[T](stateValue: MapT[Long, T], timestamp: Long): MapT[Long, T]

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  48. def stateForTimestampToReadUntilEnd[T](stateValue: MapT[Long, T], timestamp: Long): MapT[Long, T]

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  49. def stateForTimestampToSave[T](stateValue: MapT[Long, T], timestamp: Long): MapT[Long, T]

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  51. def tags: Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  52. lazy val timeHistogram: Histogram

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionMixin
  53. val timeWindowLengthMillis: Long

    Permalink
    Attributes
    protected
    Definition Classes
    AggregatorFunctionAggregatorFunctionMixin
  54. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  55. def updateState(stateValue: MapT[Long, AnyRef], stateValidity: Long, timeService: TimerService): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LatelyEvictableStateFunctionMixin → StateHolder
  56. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AggregatorFunctionMixin[MapT]

Inherited from LatelyEvictableStateFunction[ValueWithContext[StringKeyedValue[AnyRef]], ValueWithContext[AnyRef], MapT[Long, AnyRef]]

Inherited from LatelyEvictableStateFunctionMixin[MapT[Long, AnyRef]]

Inherited from StateHolder[MapT[Long, AnyRef]]

Inherited from KeyedProcessFunction[String, ValueWithContext[StringKeyedValue[AnyRef]], ValueWithContext[AnyRef]]

Inherited from AbstractRichFunction

Inherited from RichFunction

Inherited from Function

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped