c

org.apache.kafka.streams.scala.kstream

SessionWindowedKStream

class SessionWindowedKStream[K, V] extends AnyRef

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

K

Type of keys

V

Type of values

See also

org.apache.kafka.streams.kstream.SessionWindowedKStream

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

Instance Constructors

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

    inner

    The underlying Java abstraction for SessionWindowedKStream

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, merger: (K, VR, VR) => VR)(implicit materialized: Materialized[K, VR, ByteArraySessionStore]): KTable[Windowed[K], VR]

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

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

    initializer

    the initializer function

    named

    a Named config used to name the processor in the topology

    aggregator

    the aggregator function

    merger

    the merger function

    materialized

    an instance of Materialized used to materialize a state store.

    returns

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

    See also

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

  5. def aggregate[VR](initializer: => VR)(aggregator: (K, V, VR) => VR, merger: (K, VR, VR) => VR)(implicit materialized: Materialized[K, VR, ByteArraySessionStore]): KTable[Windowed[K], VR]

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

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

    initializer

    the initializer function

    aggregator

    the aggregator function

    merger

    the merger function

    materialized

    an instance of Materialized used to materialize a state store.

    returns

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

    See also

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

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

    Count the number of records in this stream by the grouped key into SessionWindows.

    Count the number of records in this stream by the grouped key into SessionWindows.

    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 windowed 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 within a window

    See also

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

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

    Count the number of records in this stream by the grouped key into SessionWindows.

    Count the number of records in this stream by the grouped key into SessionWindows.

    materialized

    an instance of Materialized used to materialize a state store.

    returns

    a windowed 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 within a window

    See also

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

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): 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[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. val inner: kstream.SessionWindowedKStream[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, ByteArraySessionStore]): KTable[Windowed[K], V]

    Combine values of this stream by the grouped key into SessionWindows.

    Combine values of this stream by the grouped key into SessionWindows.

    reducer

    a reducer function that computes a new aggregate result.

    materialized

    an instance of Materialized used to materialize a state store.

    returns

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

    See also

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

  21. def reduce(reducer: (V, V) => V)(implicit materialized: Materialized[K, V, ByteArraySessionStore]): KTable[Windowed[K], V]

    Combine values of this stream by the grouped key into SessionWindows.

    Combine values of this stream by the grouped key into SessionWindows.

    reducer

    a reducer function that computes a new aggregate result.

    materialized

    an instance of Materialized used to materialize a state store.

    returns

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

    See also

    org.apache.kafka.streams.kstream.SessionWindowedKStream#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(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped