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
- Alphabetic
- By Inheritance
- SessionWindowedKStream
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SessionWindowedKStream(inner: kstream.SessionWindowedKStream[K, V])
- inner
The underlying Java abstraction for SessionWindowedKStream
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val inner: kstream.SessionWindowedKStream[K, V]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()