Package

com.twitter.finatra.streams.transformer

domain

Permalink

package domain

Visibility
  1. Public
  2. All

Type Members

  1. trait CompositeKey[P, S] extends AnyRef

    Permalink
  2. case class DeleteTimer[SK](throttled: Boolean = false) extends TimerResult[SK] with Product with Serializable

    Permalink

    A TimerResult that represents the completion of a deletion.

    A TimerResult that represents the completion of a deletion.

    throttled

    Indicates the number of operations has surpassed those allocated for a period of time.

  3. class FixedTimeWindowedSerde[K] extends AbstractSerde[TimeWindowed[K]]

    Permalink

    Serde for use when your time windows are fixed length and non-overlapping.

    Serde for use when your time windows are fixed length and non-overlapping. When this condition is met, we are able to avoid serializing 8 bytes for TimeWindowed.endTime

  4. case class IndexedSampleKey[SampleKey](sampleKey: SampleKey, index: Int) extends Product with Serializable

    Permalink

    The key in a sample KeyValue store.

    The key in a sample KeyValue store. Each sample is stored as a row in the table, and the index is what makes each row unique. The index is a number of 0..sampleSize

    SampleKey

    the user specified sample key type.

    sampleKey

    the user specified key of the sample(e.g. engagement type, or audience)

    index

    a number of 0..sampleSize

  5. case class RetainTimer[SK](stateStoreCursor: Option[SK] = None, throttled: Boolean = false) extends TimerResult[SK] with Product with Serializable

    Permalink

    A TimerResult that represents the retention of an incomplete deletion.

    A TimerResult that represents the retention of an incomplete deletion.

    stateStoreCursor

    A cursor representing the next key in an iterator.

    throttled

    Indicates the number of operations has surpassed those allocated for a period of time.

  6. final case class Time(millis: Long) extends AnyVal with Product with Serializable

    Permalink
  7. case class TimeWindowed[V](startMs: Long, endMs: Long, value: V) extends Product with Serializable

    Permalink

    A time windowed value specified by a start and end time

    A time windowed value specified by a start and end time

    startMs

    the start timestamp of the window (inclusive)

    endMs

    the end timestamp of the window (exclusive)

  8. class TimerMetadata extends AnyRef

    Permalink

    Metadata used to convey the purpose of a com.twitter.finatra.streams.transformer.internal.domain.Timer.

    Metadata used to convey the purpose of a com.twitter.finatra.streams.transformer.internal.domain.Timer.

    TimerMetadata represents the following Timer actions: EmitEarly, Close, Expire

  9. sealed trait TimerResult[SK] extends AnyRef

    Permalink

    Indicates the result of a Timer-based operation.

  10. final case class Watermark(timeMillis: Long) extends AnyVal with Product with Serializable

    Permalink
  11. class WindowResultType extends AnyRef

    Permalink
  12. case class WindowedValue[V](resultState: WindowResultType, value: V) extends Product with Serializable

    Permalink
  13. class WindowedValueSerde[V] extends AbstractSerde[WindowedValue[V]]

    Permalink

    Serde for the WindowedValue class.

Ungrouped