class CogroupedKStream[KIn, VOut] extends AnyRef
Wraps the Java class CogroupedKStream and delegates method calls to the underlying Java object.
- KIn
Type of keys
- VOut
Type of values
- See also
org.apache.kafka.streams.kstream.CogroupedKStream
- Alphabetic
- By Inheritance
- CogroupedKStream
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CogroupedKStream(inner: kstream.CogroupedKStream[KIn, VOut])
- inner
The underlying Java abstraction for CogroupedKStream
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(initializer: ⇒ VOut, named: Named)(implicit materialized: Materialized[KIn, VOut, ByteArrayKeyValueStore]): KTable[KIn, VOut]
Aggregate the values of records in these streams by the grouped key and defined window.
Aggregate the values of records in these streams by the grouped key and defined window.
- initializer
an
Initializer
that computes an initial intermediate aggregation result. Cannot be { @code null}.- named
a Named config used to name the processor in the topology
- materialized
an instance of
Materialized
used to materialize a state store. Cannot be { @code null}.- 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.CogroupedKStream#aggregate
-
def
aggregate(initializer: ⇒ VOut)(implicit materialized: Materialized[KIn, VOut, ByteArrayKeyValueStore]): KTable[KIn, VOut]
Aggregate the values of records in these streams by the grouped key and defined window.
Aggregate the values of records in these streams by the grouped key and defined window.
- initializer
an
Initializer
that computes an initial intermediate aggregation result. Cannot be { @code null}.- materialized
an instance of
Materialized
used to materialize a state store. Cannot be { @code null}.- 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.CogroupedKStream#aggregate
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
cogroup[VIn](groupedStream: KGroupedStream[KIn, VIn], aggregator: (KIn, VIn, VOut) ⇒ VOut): CogroupedKStream[KIn, VOut]
Add an already KGroupedStream to this CogroupedKStream.
Add an already KGroupedStream to this CogroupedKStream.
- groupedStream
a group stream
- aggregator
a function that computes a new aggregate result
- returns
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val inner: kstream.CogroupedKStream[KIn, VOut]
-
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()
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
windowedBy(windows: SessionWindows): SessionWindowedCogroupedKStream[KIn, VOut]
Create a new SessionWindowedKStream instance that can be used to perform session windowed aggregations.
Create a new SessionWindowedKStream instance that can be used to perform session windowed aggregations.
- windows
the specification of the aggregation
SessionWindows
- returns
an instance of SessionWindowedKStream
- See also
org.apache.kafka.streams.kstream.KGroupedStream#windowedBy
-
def
windowedBy(windows: SlidingWindows): TimeWindowedCogroupedKStream[KIn, VOut]
Create a new TimeWindowedCogroupedKStream instance that can be used to perform sliding windowed aggregations.
Create a new TimeWindowedCogroupedKStream instance that can be used to perform sliding windowed aggregations.
- windows
the specification of the aggregation
SlidingWindows
- returns
an instance of TimeWindowedCogroupedKStream
- See also
org.apache.kafka.streams.kstream.CogroupedKStream#windowedBy
-
def
windowedBy[W <: Window](windows: Windows[W]): TimeWindowedCogroupedKStream[KIn, VOut]
Create a new TimeWindowedCogroupedKStream instance that can be used to perform windowed aggregations.
Create a new TimeWindowedCogroupedKStream instance that can be used to perform windowed aggregations.
- windows
the specification of the aggregation
Windows
- returns
an instance of TimeWindowedCogroupedKStream
- See also
org.apache.kafka.streams.kstream.CogroupedKStream#windowedBy