c

org.apache.kafka.streams.scala.kstream

TimeWindowedKStream

class TimeWindowedKStream[K, V] extends AnyRef

Wraps the Java class TimeWindowedKStream and delegates method calls to the underlying Java object.

K

Type of keys

V

Type of values

See also

org.apache.kafka.streams.kstream.TimeWindowedKStream

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimeWindowedKStream
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TimeWindowedKStream(inner: kstream.TimeWindowedKStream[K, V])

    inner

    The underlying Java abstraction for TimeWindowedKStream

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def aggregate[VR](initializer: ⇒ VR, named: Named)(aggregator: (K, V, VR) ⇒ VR)(implicit materialized: Materialized[K, VR, ByteArrayWindowStore]): KTable[Windowed[K], VR]

    Aggregate the values of records in this stream by the grouped key.

    Aggregate the values of records in this stream by the grouped key.

    initializer

    an initializer function that computes an initial intermediate aggregation result

    named

    a Named config used to name the processor in the topology

    aggregator

    an aggregator function that computes a new aggregate result

    materialized

    an instance of Materialized used to materialize a state store.

    returns

    a KTable that contains "update" records with unmodified keys, and values that represent the latest (rolling) aggregate for each key

    See also

    org.apache.kafka.streams.kstream.TimeWindowedKStream#aggregate

  5. def aggregate[VR](initializer: ⇒ VR)(aggregator: (K, V, VR) ⇒ VR)(implicit materialized: Materialized[K, VR, ByteArrayWindowStore]): KTable[Windowed[K], VR]

    Aggregate the values of records in this stream by the grouped key.

    Aggregate the values of records in this stream by the grouped key.

    initializer

    an initializer function that computes an initial intermediate aggregation result

    aggregator

    an aggregator function that computes a new aggregate result

    materialized

    an instance of Materialized used to materialize a state store.

    returns

    a KTable that contains "update" records with unmodified keys, and values that represent the latest (rolling) aggregate for each key

    See also

    org.apache.kafka.streams.kstream.TimeWindowedKStream#aggregate

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def count(named: Named)(implicit materialized: Materialized[K, Long, ByteArrayWindowStore]): KTable[Windowed[K], Long]

    Count the number of records in this stream by the grouped key and the defined windows.

    Count the number of records in this stream by the grouped key and the defined windows.

    named

    a Named config used to name the processor in the topology

    materialized

    an instance of Materialized used to materialize a state store.

    returns

    a KTable that contains "update" records with unmodified keys and Long values that represent the latest (rolling) count (i.e., number of records) for each key

    See also

    org.apache.kafka.streams.kstream.TimeWindowedKStream#count

  9. def count()(implicit materialized: Materialized[K, Long, ByteArrayWindowStore]): KTable[Windowed[K], Long]

    Count the number of records in this stream by the grouped key and the defined windows.

    Count the number of records in this stream by the grouped key and the defined windows.

    materialized

    an instance of Materialized used to materialize a state store.

    returns

    a KTable that contains "update" records with unmodified keys and Long values that represent the latest (rolling) count (i.e., number of records) for each key

    See also

    org.apache.kafka.streams.kstream.TimeWindowedKStream#count

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. val inner: kstream.TimeWindowedKStream[K, V]
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def reduce(reducer: (V, V) ⇒ V, named: Named)(implicit materialized: Materialized[K, V, ByteArrayWindowStore]): KTable[Windowed[K], V]

    Combine the values of records in this stream by the grouped key.

    Combine the values of records in this stream by the grouped key.

    reducer

    a function that computes a new aggregate result

    named

    a Named config used to name the processor in the topology

    materialized

    an instance of Materialized used to materialize a state store.

    returns

    a KTable that contains "update" records with unmodified keys, and values that represent the latest (rolling) aggregate for each key

    See also

    org.apache.kafka.streams.kstream.TimeWindowedKStream#reduce

  21. def reduce(reducer: (V, V) ⇒ V)(implicit materialized: Materialized[K, V, ByteArrayWindowStore]): KTable[Windowed[K], V]

    Combine the values of records in this stream by the grouped key.

    Combine the values of records in this stream by the grouped key.

    reducer

    a function that computes a new aggregate result

    materialized

    an instance of Materialized used to materialize a state store.

    returns

    a KTable that contains "update" records with unmodified keys, and values that represent the latest (rolling) aggregate for each key

    See also

    org.apache.kafka.streams.kstream.TimeWindowedKStream#reduce

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped