Class

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

EmitWhenEventLeftAggregatorFunction

Related Doc: package aggregate

Permalink

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

It behaves the same as AggregatorFunction with one difference that also publish events when some event will left the slide.

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. EmitWhenEventLeftAggregatorFunction
  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 EmitWhenEventLeftAggregatorFunction(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. type FlinkOnTimerCtx = OnTimerContext

    Permalink
  4. 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
    EmitWhenEventLeftAggregatorFunctionAggregatorFunctionMixin
  6. val aggregateTypeInformation: TypeInformation[AnyRef]

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

    Permalink
    Attributes
    protected
    Definition Classes
    EmitWhenEventLeftAggregatorFunctionAggregatorFunctionMixin
  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, timerService: TimerService, out: Collector[ValueWithContext[AnyRef]]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EmitWhenEventLeftAggregatorFunctionAggregatorFunctionMixin
  22. def handleElementLeftSlide(currentStateValue: MapT[Long, Aggregate], timestamp: Long, ctx: FlinkOnTimerCtx, out: Collector[ValueWithContext[AnyRef]]): Unit

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  35. final def notify(): Unit

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

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

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

    Permalink
    Definition Classes
    EmitWhenEventLeftAggregatorFunction → LatelyEvictableStateFunctionMixin → AbstractRichFunction → RichFunction
  39. val outputType: TypingResult

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

    Permalink
    Definition Classes
    EmitWhenEventLeftAggregatorFunction → KeyedProcessFunction
  41. implicit val rangeMap: FlinkRangeMap[MapT]

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    EmitWhenEventLeftAggregatorFunctionAggregatorFunctionMixin
  55. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. 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