Class

com.twitter.finatra.streams.transformer

SumAggregator

Related Doc: package transformer

Permalink

class SumAggregator[K, V] extends FinatraTransformer[K, V, TimeWindowed[K], WindowStartTime, TimeWindowed[K], WindowedValue[Int]]

Annotations
@deprecated
Deprecated

Use AggregatorTransformer

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SumAggregator
  2. FinatraTransformer
  3. IteratorImplicits
  4. StateStoreImplicits
  5. ProcessorContextLogging
  6. OnClose
  7. OnInit
  8. Transformer
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SumAggregator(commitInterval: Duration, keyRangeStart: K, statsReceiver: StatsReceiver, stateStoreName: String, timerStoreName: String, windowSize: Duration, allowedLateness: Duration, queryableAfterClose: Duration, windowStart: (Time, K, V) ⇒ Long, countToAggregate: (K, V) ⇒ Int, emitOnClose: Boolean = true, maxActionsPerTimer: Int = 25000)

    Permalink

Type Members

  1. implicit class RichIterator[T] extends AnyRef

    Permalink
    Definition Classes
    IteratorImplicits
  2. implicit class RichKeyIntValueStore[SK] extends AnyRef

    Permalink
    Definition Classes
    StateStoreImplicits
  3. implicit class RichKeyValueIterator[K, V] extends AnyRef

    Permalink
    Definition Classes
    IteratorImplicits
  4. implicit class RichLong extends AnyRef

    Permalink
    Definition Classes
    ProcessorContextLogging

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. final def addEventTimeTimer(time: Time, metadata: TimerMetadata, key: WindowStartTime): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FinatraTransformer
  5. final def addProcessingTimeTimer(duration: Duration): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FinatraTransformer
  6. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    FinatraTransformer → Transformer
  9. final def debug(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ProcessorContextLogging
  10. final def deleteOrRetainTimer(iterator: KeyValueIterator[TimeWindowed[K], _], onDeleteTimer: ⇒ Unit = () => ()): TimerResult[TimeWindowed[K]]

    Permalink
    Attributes
    protected
    Definition Classes
    FinatraTransformer
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def error(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ProcessorContextLogging
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def forward(key: TimeWindowed[K], value: WindowedValue[Int], timestamp: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FinatraTransformer
  16. final def forward(key: TimeWindowed[K], value: WindowedValue[Int]): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def getKeyValueStore[KK, VV](name: String)(implicit arg0: ClassTag[KK]): FinatraKeyValueStore[KK, VV]

    Permalink
    Attributes
    protected
    Definition Classes
    FinatraTransformer
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def info(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ProcessorContextLogging
  21. final def init(processorContext: ProcessorContext): Unit

    Permalink
    Definition Classes
    FinatraTransformer → Transformer
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def onClose(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    OnClose
  27. def onEventTimer(time: Time, timerMetadata: TimerMetadata, windowStartMs: WindowStartTime, cursor: Option[TimeWindowed[K]]): TimerResult[TimeWindowed[K]]

    Permalink

    Callback for when an Event timer is ready for processing

    Callback for when an Event timer is ready for processing

    returns

    TimerResult indicating if this timer should be retained or deleted

    Definition Classes
    SumAggregatorFinatraTransformer
  28. def onInit(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    OnInit
  29. def onMessage(time: Time, key: K, value: V): Unit

    Permalink
    Definition Classes
    SumAggregatorFinatraTransformer
  30. def onProcessingTimer(time: TimerTime): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FinatraTransformer
  31. def processorContext: ProcessorContext

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

    Permalink
    Definition Classes
    AnyRef
  33. final def taskIdStr: String

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessorContextLogging
  34. final def timeStr: String

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessorContextLogging
  35. final val timersStore: FinatraKeyValueStore[Timer[WindowStartTime], Array[Byte]]

    Permalink
    Attributes
    protected[com.twitter.finatra]
    Definition Classes
    FinatraTransformer
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. final def trace(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ProcessorContextLogging
  38. final def transform(k: K, v: V): (TimeWindowed[K], WindowedValue[Int])

    Permalink
    Definition Classes
    FinatraTransformer → Transformer
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def warn(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ProcessorContextLogging
  43. final def watermark: Long

    Permalink
    Attributes
    protected
    Definition Classes
    FinatraTransformer

Deprecated Value Members

  1. def logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessorContextLogging
    Annotations
    @deprecated
    Deprecated

    Use error, warn, info, debug, or trace methods directly

Inherited from IteratorImplicits

Inherited from StateStoreImplicits

Inherited from ProcessorContextLogging

Inherited from OnClose

Inherited from OnInit

Inherited from Transformer[K, V, (TimeWindowed[K], WindowedValue[Int])]

Inherited from AnyRef

Inherited from Any

Ungrouped