blob: a82ee5e1f0501a8be955075e1f491627275335a6 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Thu Aug 04 13:19:28 BST 2016 -->
<title>KStream (kafka 0.10.0.1 API)</title>
<meta name="date" content="2016-08-04">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="KStream (kafka 0.10.0.1 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/kafka/streams/kstream/KGroupedTable.html" title="interface in org.apache.kafka.streams.kstream"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/apache/kafka/streams/kstream/KStreamBuilder.html" title="class in org.apache.kafka.streams.kstream"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/kafka/streams/kstream/KStream.html" target="_top">Frames</a></li>
<li><a href="KStream.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.kafka.streams.kstream</div>
<h2 title="Interface KStream" class="title">Interface KStream&lt;K,V&gt;</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>K</code> - Type of keys</dd><dd><code>V</code> - Type of values</dd></dl>
<hr>
<br>
<pre>@InterfaceStability.Unstable
public interface <span class="strong">KStream&lt;K,V&gt;</span></pre>
<div class="block"><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> is an abstraction of a <i>record stream</i> of key-value pairs.
<p>
A <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> is either defined from one or multiple Kafka topics that are consumed message by message or
the result of a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> transformation. A <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> can also be converted into a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>.
<p>
A <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> can be transformed record by record, joined with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> or <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>, or
can be aggregated into a <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#aggregateByKey(org.apache.kafka.streams.kstream.Initializer,%20org.apache.kafka.streams.kstream.Aggregator,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde,%20java.lang.String)">aggregateByKey</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Initializer.html" title="interface in org.apache.kafka.streams.kstream">Initializer</a>&lt;T&gt;&nbsp;initializer,
<a href="../../../../../org/apache/kafka/streams/kstream/Aggregator.html" title="interface in org.apache.kafka.streams.kstream">Aggregator</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,T&gt;&nbsp;aggregator,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;T&gt;&nbsp;aggValueSerde,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Aggregate values of this stream by key into a new instance of ever-updating <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#aggregateByKey(org.apache.kafka.streams.kstream.Initializer,%20org.apache.kafka.streams.kstream.Aggregator,%20java.lang.String)">aggregateByKey</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Initializer.html" title="interface in org.apache.kafka.streams.kstream">Initializer</a>&lt;T&gt;&nbsp;initializer,
<a href="../../../../../org/apache/kafka/streams/kstream/Aggregator.html" title="interface in org.apache.kafka.streams.kstream">Aggregator</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,T&gt;&nbsp;aggregator,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Aggregate values of this stream by key into a new instance of ever-updating <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>
with default serializers and deserializers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T,W extends <a href="../../../../../org/apache/kafka/streams/kstream/Window.html" title="class in org.apache.kafka.streams.kstream">Window</a>&gt;&nbsp;<br><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/Windowed.html" title="class in org.apache.kafka.streams.kstream">Windowed</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;,T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#aggregateByKey(org.apache.kafka.streams.kstream.Initializer,%20org.apache.kafka.streams.kstream.Aggregator,%20org.apache.kafka.streams.kstream.Windows)">aggregateByKey</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Initializer.html" title="interface in org.apache.kafka.streams.kstream">Initializer</a>&lt;T&gt;&nbsp;initializer,
<a href="../../../../../org/apache/kafka/streams/kstream/Aggregator.html" title="interface in org.apache.kafka.streams.kstream">Aggregator</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,T&gt;&nbsp;aggregator,
<a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream">Windows</a>&lt;W&gt;&nbsp;windows)</code>
<div class="block">Aggregate values of this stream by key on a window basis into a new instance of windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>
with default serializers and deserializers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T,W extends <a href="../../../../../org/apache/kafka/streams/kstream/Window.html" title="class in org.apache.kafka.streams.kstream">Window</a>&gt;&nbsp;<br><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/Windowed.html" title="class in org.apache.kafka.streams.kstream">Windowed</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;,T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#aggregateByKey(org.apache.kafka.streams.kstream.Initializer,%20org.apache.kafka.streams.kstream.Aggregator,%20org.apache.kafka.streams.kstream.Windows,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde)">aggregateByKey</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Initializer.html" title="interface in org.apache.kafka.streams.kstream">Initializer</a>&lt;T&gt;&nbsp;initializer,
<a href="../../../../../org/apache/kafka/streams/kstream/Aggregator.html" title="interface in org.apache.kafka.streams.kstream">Aggregator</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,T&gt;&nbsp;aggregator,
<a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream">Windows</a>&lt;W&gt;&nbsp;windows,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;T&gt;&nbsp;aggValueSerde)</code>
<div class="block">Aggregate values of this stream by key on a window basis into a new instance of windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#branch(org.apache.kafka.streams.kstream.Predicate...)">branch</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Predicate.html" title="interface in org.apache.kafka.streams.kstream">Predicate</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;...&nbsp;predicates)</code>
<div class="block">Creates an array of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> from this stream by branching the elements in the original stream based on the supplied predicates.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#countByKey(org.apache.kafka.common.serialization.Serde,%20java.lang.String)">countByKey</a></strong>(<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Count number of records of this stream by key into a new instance of ever-updating <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#countByKey(java.lang.String)">countByKey</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Count number of records of this stream by key into a new instance of ever-updating <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>
with default serializers and deserializers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;W extends <a href="../../../../../org/apache/kafka/streams/kstream/Window.html" title="class in org.apache.kafka.streams.kstream">Window</a>&gt;&nbsp;<br><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/Windowed.html" title="class in org.apache.kafka.streams.kstream">Windowed</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#countByKey(org.apache.kafka.streams.kstream.Windows)">countByKey</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream">Windows</a>&lt;W&gt;&nbsp;windows)</code>
<div class="block">Count number of records of this stream by key on a window basis into a new instance of windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>
with default serializers and deserializers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;W extends <a href="../../../../../org/apache/kafka/streams/kstream/Window.html" title="class in org.apache.kafka.streams.kstream">Window</a>&gt;&nbsp;<br><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/Windowed.html" title="class in org.apache.kafka.streams.kstream">Windowed</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#countByKey(org.apache.kafka.streams.kstream.Windows,%20org.apache.kafka.common.serialization.Serde)">countByKey</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream">Windows</a>&lt;W&gt;&nbsp;windows,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde)</code>
<div class="block">Count number of records of this stream by key on a window basis into a new instance of windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#filter(org.apache.kafka.streams.kstream.Predicate)">filter</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Predicate.html" title="interface in org.apache.kafka.streams.kstream">Predicate</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;predicate)</code>
<div class="block">Create a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that consists of all elements of this stream which satisfy a predicate.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#filterNot(org.apache.kafka.streams.kstream.Predicate)">filterNot</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Predicate.html" title="interface in org.apache.kafka.streams.kstream">Predicate</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;predicate)</code>
<div class="block">Create a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that consists all elements of this stream which do not satisfy a predicate.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;K1,V1&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;K1,V1&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#flatMap(org.apache.kafka.streams.kstream.KeyValueMapper)">flatMap</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/KeyValueMapper.html" title="interface in org.apache.kafka.streams.kstream">KeyValueMapper</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../../org/apache/kafka/streams/KeyValue.html" title="class in org.apache.kafka.streams">KeyValue</a>&lt;K1,V1&gt;&gt;&gt;&nbsp;mapper)</code>
<div class="block">Create a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> by transforming each element in this stream into zero or more elements in the new stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;V1&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#flatMapValues(org.apache.kafka.streams.kstream.ValueMapper)">flatMapValues</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/ValueMapper.html" title="interface in org.apache.kafka.streams.kstream">ValueMapper</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;V1&gt;&gt;&nbsp;processor)</code>
<div class="block">Create a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> by transforming the value of each element in this stream into zero or more values with the same key in the new stream.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#foreach(org.apache.kafka.streams.kstream.ForeachAction)">foreach</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/ForeachAction.html" title="interface in org.apache.kafka.streams.kstream">ForeachAction</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;action)</code>
<div class="block">Perform an action on each element of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;V1,R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#join(org.apache.kafka.streams.kstream.KStream,%20org.apache.kafka.streams.kstream.ValueJoiner,%20org.apache.kafka.streams.kstream.JoinWindows)">join</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;otherStream,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,R&gt;&nbsp;joiner,
<a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream">JoinWindows</a>&nbsp;windows)</code>
<div class="block">Combine element values of this stream with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>'s elements of the same key using windowed Inner Join
with default serializers and deserializers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;V1,R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#join(org.apache.kafka.streams.kstream.KStream,%20org.apache.kafka.streams.kstream.ValueJoiner,%20org.apache.kafka.streams.kstream.JoinWindows,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde)">join</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;otherStream,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,R&gt;&nbsp;joiner,
<a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream">JoinWindows</a>&nbsp;windows,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;thisValueSerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;V1&gt;&nbsp;otherValueSerde)</code>
<div class="block">Combine element values of this stream with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>'s elements of the same key using windowed Inner Join.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;V1,R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#leftJoin(org.apache.kafka.streams.kstream.KStream,%20org.apache.kafka.streams.kstream.ValueJoiner,%20org.apache.kafka.streams.kstream.JoinWindows)">leftJoin</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;otherStream,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,R&gt;&nbsp;joiner,
<a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream">JoinWindows</a>&nbsp;windows)</code>
<div class="block">Combine values of this stream with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>'s elements of the same key using windowed Left Join
with default serializers and deserializers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;V1,R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#leftJoin(org.apache.kafka.streams.kstream.KStream,%20org.apache.kafka.streams.kstream.ValueJoiner,%20org.apache.kafka.streams.kstream.JoinWindows,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde)">leftJoin</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;otherStream,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,R&gt;&nbsp;joiner,
<a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream">JoinWindows</a>&nbsp;windows,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;V1&gt;&nbsp;otherValueSerde)</code>
<div class="block">Combine values of this stream with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>'s elements of the same key using windowed Left Join.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;V1,V2&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V2&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#leftJoin(org.apache.kafka.streams.kstream.KTable,%20org.apache.kafka.streams.kstream.ValueJoiner)">leftJoin</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;table,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,V2&gt;&nbsp;joiner)</code>
<div class="block">Combine values of this stream with <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>'s elements of the same key using non-windowed Left Join.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;K1,V1&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;K1,V1&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#map(org.apache.kafka.streams.kstream.KeyValueMapper)">map</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/KeyValueMapper.html" title="interface in org.apache.kafka.streams.kstream">KeyValueMapper</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,<a href="../../../../../org/apache/kafka/streams/KeyValue.html" title="class in org.apache.kafka.streams">KeyValue</a>&lt;K1,V1&gt;&gt;&nbsp;mapper)</code>
<div class="block">Create a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> by transforming each element in this stream into a different element in the new stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;V1&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#mapValues(org.apache.kafka.streams.kstream.ValueMapper)">mapValues</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/ValueMapper.html" title="interface in org.apache.kafka.streams.kstream">ValueMapper</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1&gt;&nbsp;mapper)</code>
<div class="block">Create a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> by transforming the value of each element in this stream into a new value in the new stream.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;V1,R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#outerJoin(org.apache.kafka.streams.kstream.KStream,%20org.apache.kafka.streams.kstream.ValueJoiner,%20org.apache.kafka.streams.kstream.JoinWindows)">outerJoin</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;otherStream,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,R&gt;&nbsp;joiner,
<a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream">JoinWindows</a>&nbsp;windows)</code>
<div class="block">Combine values of this stream with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>'s elements of the same key using windowed Outer Join
with default serializers and deserializers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;V1,R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#outerJoin(org.apache.kafka.streams.kstream.KStream,%20org.apache.kafka.streams.kstream.ValueJoiner,%20org.apache.kafka.streams.kstream.JoinWindows,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde)">outerJoin</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;otherStream,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,R&gt;&nbsp;joiner,
<a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream">JoinWindows</a>&nbsp;windows,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;thisValueSerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;V1&gt;&nbsp;otherValueSerde)</code>
<div class="block">Combine values of this stream with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>'s elements of the same key using windowed Outer Join.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#print()">print</a></strong>()</code>
<div class="block">Print the elements of this stream to System.out
Implementors will need to override toString for keys and values that are not of
type String, Integer etc to get meaningful information.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#print(org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde)">print</a></strong>(<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valSerde)</code>
<div class="block">Print the elements of this stream to System.out</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#process(org.apache.kafka.streams.processor.ProcessorSupplier,%20java.lang.String...)">process</a></strong>(<a href="../../../../../org/apache/kafka/streams/processor/ProcessorSupplier.html" title="interface in org.apache.kafka.streams.processor">ProcessorSupplier</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;processorSupplier,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;stateStoreNames)</code>
<div class="block">Process all elements in this stream, one element at a time, by applying a <a href="../../../../../org/apache/kafka/streams/processor/Processor.html" title="interface in org.apache.kafka.streams.processor"><code>Processor</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#reduceByKey(org.apache.kafka.streams.kstream.Reducer,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde,%20java.lang.String)">reduceByKey</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Reducer.html" title="interface in org.apache.kafka.streams.kstream">Reducer</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;reducer,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valueSerde,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Combine values of this stream by key into a new instance of ever-updating <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#reduceByKey(org.apache.kafka.streams.kstream.Reducer,%20java.lang.String)">reduceByKey</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Reducer.html" title="interface in org.apache.kafka.streams.kstream">Reducer</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;reducer,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Combine values of this stream by key into a new instance of ever-updating <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> with default serializers and deserializers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;W extends <a href="../../../../../org/apache/kafka/streams/kstream/Window.html" title="class in org.apache.kafka.streams.kstream">Window</a>&gt;&nbsp;<br><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/Windowed.html" title="class in org.apache.kafka.streams.kstream">Windowed</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#reduceByKey(org.apache.kafka.streams.kstream.Reducer,%20org.apache.kafka.streams.kstream.Windows)">reduceByKey</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Reducer.html" title="interface in org.apache.kafka.streams.kstream">Reducer</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;reducer,
<a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream">Windows</a>&lt;W&gt;&nbsp;windows)</code>
<div class="block">Combine values of this stream by key on a window basis into a new instance of windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>
with default serializers and deserializers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;W extends <a href="../../../../../org/apache/kafka/streams/kstream/Window.html" title="class in org.apache.kafka.streams.kstream">Window</a>&gt;&nbsp;<br><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/Windowed.html" title="class in org.apache.kafka.streams.kstream">Windowed</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#reduceByKey(org.apache.kafka.streams.kstream.Reducer,%20org.apache.kafka.streams.kstream.Windows,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde)">reduceByKey</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/Reducer.html" title="interface in org.apache.kafka.streams.kstream">Reducer</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;reducer,
<a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream">Windows</a>&lt;W&gt;&nbsp;windows,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valueSerde)</code>
<div class="block">Combine values of this stream by key on a window basis into a new instance of windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;K1&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;K1,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#selectKey(org.apache.kafka.streams.kstream.KeyValueMapper)">selectKey</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/KeyValueMapper.html" title="interface in org.apache.kafka.streams.kstream">KeyValueMapper</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,K1&gt;&nbsp;mapper)</code>
<div class="block">Create a new key from the current key and value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#through(org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.streams.processor.StreamPartitioner,%20java.lang.String)">through</a></strong>(<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valSerde,
<a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor">StreamPartitioner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;partitioner,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</code>
<div class="block">Materialize this stream to a topic, also creates a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> from the topic
using a customizable <a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor"><code>StreamPartitioner</code></a> to determine the distribution of records to partitions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#through(org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde,%20java.lang.String)">through</a></strong>(<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valSerde,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</code>
<div class="block">Materialize this stream to a topic, also creates a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> from the topic.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#through(org.apache.kafka.streams.processor.StreamPartitioner,%20java.lang.String)">through</a></strong>(<a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor">StreamPartitioner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;partitioner,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</code>
<div class="block">Materialize this stream to a topic, also creates a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> from the topic
using default serializers and deserializers and a customizable <a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor"><code>StreamPartitioner</code></a> to determine the distribution of records to partitions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#through(java.lang.String)">through</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</code>
<div class="block">Materialize this stream to a topic, also creates a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> from the topic
using default serializers and deserializers and producer's <code>DefaultPartitioner</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#to(org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.streams.processor.StreamPartitioner,%20java.lang.String)">to</a></strong>(<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valSerde,
<a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor">StreamPartitioner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;partitioner,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</code>
<div class="block">Materialize this stream to a topic using a customizable <a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor"><code>StreamPartitioner</code></a> to determine the distribution of records to partitions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#to(org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde,%20java.lang.String)">to</a></strong>(<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valSerde,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</code>
<div class="block">Materialize this stream to a topic.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#to(org.apache.kafka.streams.processor.StreamPartitioner,%20java.lang.String)">to</a></strong>(<a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor">StreamPartitioner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;partitioner,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</code>
<div class="block">Materialize this stream to a topic using default serializers specified in the config and a customizable
<a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor"><code>StreamPartitioner</code></a> to determine the distribution of records to partitions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#to(java.lang.String)">to</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</code>
<div class="block">Materialize this stream to a topic using default serializers specified in the config
and producer's <code>DefaultPartitioner</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;K1,V1&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;K1,V1&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#transform(org.apache.kafka.streams.kstream.TransformerSupplier,%20java.lang.String...)">transform</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/TransformerSupplier.html" title="interface in org.apache.kafka.streams.kstream">TransformerSupplier</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,<a href="../../../../../org/apache/kafka/streams/KeyValue.html" title="class in org.apache.kafka.streams">KeyValue</a>&lt;K1,V1&gt;&gt;&nbsp;transformerSupplier,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;stateStoreNames)</code>
<div class="block">Create a new <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> instance by applying a <a href="../../../../../org/apache/kafka/streams/kstream/Transformer.html" title="interface in org.apache.kafka.streams.kstream"><code>Transformer</code></a> to all elements in this stream, one element at a time.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#transformValues(org.apache.kafka.streams.kstream.ValueTransformerSupplier,%20java.lang.String...)">transformValues</a></strong>(<a href="../../../../../org/apache/kafka/streams/kstream/ValueTransformerSupplier.html" title="interface in org.apache.kafka.streams.kstream">ValueTransformerSupplier</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,R&gt;&nbsp;valueTransformerSupplier,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;stateStoreNames)</code>
<div class="block">Create a new <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> instance by applying a <a href="../../../../../org/apache/kafka/streams/kstream/ValueTransformer.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueTransformer</code></a> to all values in this stream, one element at a time.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#writeAsText(java.lang.String)">writeAsText</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;filePath)</code>
<div class="block">Write the elements of this stream to a file at the given path.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#writeAsText(java.lang.String,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde)">writeAsText</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;filePath,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valSerde)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="filter(org.apache.kafka.streams.kstream.Predicate)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filter</h4>
<pre><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;filter(<a href="../../../../../org/apache/kafka/streams/kstream/Predicate.html" title="interface in org.apache.kafka.streams.kstream">Predicate</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;predicate)</pre>
<div class="block">Create a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that consists of all elements of this stream which satisfy a predicate.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>predicate</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/Predicate.html" title="interface in org.apache.kafka.streams.kstream"><code>Predicate</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains only those records that satisfy the given predicate</dd></dl>
</li>
</ul>
<a name="filterNot(org.apache.kafka.streams.kstream.Predicate)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filterNot</h4>
<pre><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;filterNot(<a href="../../../../../org/apache/kafka/streams/kstream/Predicate.html" title="interface in org.apache.kafka.streams.kstream">Predicate</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;predicate)</pre>
<div class="block">Create a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that consists all elements of this stream which do not satisfy a predicate.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>predicate</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/Predicate.html" title="interface in org.apache.kafka.streams.kstream"><code>Predicate</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains only those records that do not satisfy the given predicate</dd></dl>
</li>
</ul>
<a name="selectKey(org.apache.kafka.streams.kstream.KeyValueMapper)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>selectKey</h4>
<pre>&lt;K1&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;K1,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;selectKey(<a href="../../../../../org/apache/kafka/streams/kstream/KeyValueMapper.html" title="interface in org.apache.kafka.streams.kstream">KeyValueMapper</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,K1&gt;&nbsp;mapper)</pre>
<div class="block">Create a new key from the current key and value.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>K1</code> - the new key type on the stream</dd><dt><span class="strong">Parameters:</span></dt><dd><code>mapper</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/KeyValueMapper.html" title="interface in org.apache.kafka.streams.kstream"><code>KeyValueMapper</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains records with different key type and same value type</dd></dl>
</li>
</ul>
<a name="map(org.apache.kafka.streams.kstream.KeyValueMapper)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>map</h4>
<pre>&lt;K1,V1&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;K1,V1&gt;&nbsp;map(<a href="../../../../../org/apache/kafka/streams/kstream/KeyValueMapper.html" title="interface in org.apache.kafka.streams.kstream">KeyValueMapper</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,<a href="../../../../../org/apache/kafka/streams/KeyValue.html" title="class in org.apache.kafka.streams">KeyValue</a>&lt;K1,V1&gt;&gt;&nbsp;mapper)</pre>
<div class="block">Create a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> by transforming each element in this stream into a different element in the new stream.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>K1</code> - the key type of the new stream</dd><dd><code>V1</code> - the value type of the new stream</dd><dt><span class="strong">Parameters:</span></dt><dd><code>mapper</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/KeyValueMapper.html" title="interface in org.apache.kafka.streams.kstream"><code>KeyValueMapper</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains records with new key and value type</dd></dl>
</li>
</ul>
<a name="mapValues(org.apache.kafka.streams.kstream.ValueMapper)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapValues</h4>
<pre>&lt;V1&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;mapValues(<a href="../../../../../org/apache/kafka/streams/kstream/ValueMapper.html" title="interface in org.apache.kafka.streams.kstream">ValueMapper</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1&gt;&nbsp;mapper)</pre>
<div class="block">Create a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> by transforming the value of each element in this stream into a new value in the new stream.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>V1</code> - the value type of the new stream</dd><dt><span class="strong">Parameters:</span></dt><dd><code>mapper</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/ValueMapper.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueMapper</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains records with unmodified keys and new values of different type</dd></dl>
</li>
</ul>
<a name="print()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>print</h4>
<pre>void&nbsp;print()</pre>
<div class="block">Print the elements of this stream to System.out
Implementors will need to override toString for keys and values that are not of
type String, Integer etc to get meaningful information.</div>
</li>
</ul>
<a name="print(org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>print</h4>
<pre>void&nbsp;print(<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valSerde)</pre>
<div class="block">Print the elements of this stream to System.out</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>keySerde</code> - key serde used to send key-value pairs,
if not specified the default serde defined in the configs will be used</dd><dd><code>valSerde</code> - value serde used to send key-value pairs,
if not specified the default serde defined in the configs will be used
Implementors will need to override toString for keys and values that are not of
type String, Integer etc to get meaningful information.</dd></dl>
</li>
</ul>
<a name="writeAsText(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeAsText</h4>
<pre>void&nbsp;writeAsText(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;filePath)</pre>
<div class="block">Write the elements of this stream to a file at the given path.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>filePath</code> - name of file to write to
Implementors will need to override toString for keys and values that are not of
type String, Integer etc to get meaningful information.</dd></dl>
</li>
</ul>
<a name="writeAsText(java.lang.String, org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeAsText</h4>
<pre>void&nbsp;writeAsText(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;filePath,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valSerde)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>filePath</code> - name of file to write to</dd><dd><code>keySerde</code> - key serde used to send key-value pairs,
if not specified the default serde defined in the configs will be used</dd><dd><code>valSerde</code> - value serde used to send key-value pairs,
if not specified the default serde defined in the configs will be used
Implementors will need to override toString for keys and values that are not of
type String, Integer etc to get meaningful information.</dd></dl>
</li>
</ul>
<a name="flatMap(org.apache.kafka.streams.kstream.KeyValueMapper)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flatMap</h4>
<pre>&lt;K1,V1&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;K1,V1&gt;&nbsp;flatMap(<a href="../../../../../org/apache/kafka/streams/kstream/KeyValueMapper.html" title="interface in org.apache.kafka.streams.kstream">KeyValueMapper</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../../org/apache/kafka/streams/KeyValue.html" title="class in org.apache.kafka.streams">KeyValue</a>&lt;K1,V1&gt;&gt;&gt;&nbsp;mapper)</pre>
<div class="block">Create a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> by transforming each element in this stream into zero or more elements in the new stream.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>K1</code> - the key type of the new stream</dd><dd><code>V1</code> - the value type of the new stream</dd><dt><span class="strong">Parameters:</span></dt><dd><code>mapper</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/KeyValueMapper.html" title="interface in org.apache.kafka.streams.kstream"><code>KeyValueMapper</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains more or less records with new key and value type</dd></dl>
</li>
</ul>
<a name="flatMapValues(org.apache.kafka.streams.kstream.ValueMapper)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flatMapValues</h4>
<pre>&lt;V1&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;flatMapValues(<a href="../../../../../org/apache/kafka/streams/kstream/ValueMapper.html" title="interface in org.apache.kafka.streams.kstream">ValueMapper</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;V1&gt;&gt;&nbsp;processor)</pre>
<div class="block">Create a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> by transforming the value of each element in this stream into zero or more values with the same key in the new stream.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>V1</code> - the value type of the new stream</dd><dt><span class="strong">Parameters:</span></dt><dd><code>processor</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/ValueMapper.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueMapper</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains more or less records with unmodified keys and new values of different type</dd></dl>
</li>
</ul>
<a name="branch(org.apache.kafka.streams.kstream.Predicate...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>branch</h4>
<pre><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;[]&nbsp;branch(<a href="../../../../../org/apache/kafka/streams/kstream/Predicate.html" title="interface in org.apache.kafka.streams.kstream">Predicate</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;...&nbsp;predicates)</pre>
<div class="block">Creates an array of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> from this stream by branching the elements in the original stream based on the supplied predicates.
Each element is evaluated against the supplied predicates, and predicates are evaluated in order. Each stream in the result array
corresponds position-wise (index) to the predicate in the supplied predicates. The branching happens on first-match: An element
in the original stream is assigned to the corresponding result stream for the first predicate that evaluates to true, and
assigned to this stream only. An element will be dropped if none of the predicates evaluate to true.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>predicates</code> - the ordered list of <a href="../../../../../org/apache/kafka/streams/kstream/Predicate.html" title="interface in org.apache.kafka.streams.kstream"><code>Predicate</code></a> instances</dd>
<dt><span class="strong">Returns:</span></dt><dd>multiple distinct substreams of this <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a></dd></dl>
</li>
</ul>
<a name="through(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>through</h4>
<pre><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;through(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</pre>
<div class="block">Materialize this stream to a topic, also creates a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> from the topic
using default serializers and deserializers and producer's <code>DefaultPartitioner</code>.
This is equivalent to calling <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#to(java.lang.String)"><code>to(String)</code></a> and <a href="../../../../../org/apache/kafka/streams/kstream/KStreamBuilder.html#stream(java.lang.String...)"><code>KStreamBuilder.stream(String...)</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>topic</code> - the topic name</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains the exact same records as this <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a></dd></dl>
</li>
</ul>
<a name="foreach(org.apache.kafka.streams.kstream.ForeachAction)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>foreach</h4>
<pre>void&nbsp;foreach(<a href="../../../../../org/apache/kafka/streams/kstream/ForeachAction.html" title="interface in org.apache.kafka.streams.kstream">ForeachAction</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;action)</pre>
<div class="block">Perform an action on each element of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>.
Note that this is a terminal operation that returns void.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>action</code> - an action to perform on each element</dd></dl>
</li>
</ul>
<a name="through(org.apache.kafka.streams.processor.StreamPartitioner, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>through</h4>
<pre><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;through(<a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor">StreamPartitioner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;partitioner,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</pre>
<div class="block">Materialize this stream to a topic, also creates a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> from the topic
using default serializers and deserializers and a customizable <a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor"><code>StreamPartitioner</code></a> to determine the distribution of records to partitions.
This is equivalent to calling <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#to(org.apache.kafka.streams.processor.StreamPartitioner,%20java.lang.String)"><code>to(StreamPartitioner, String)</code></a> and <a href="../../../../../org/apache/kafka/streams/kstream/KStreamBuilder.html#stream(java.lang.String...)"><code>KStreamBuilder.stream(String...)</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>partitioner</code> - the function used to determine how records are distributed among partitions of the topic,
if not specified producer's <code>DefaultPartitioner</code> will be used</dd><dd><code>topic</code> - the topic name</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains the exact same records as this <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a></dd></dl>
</li>
</ul>
<a name="through(org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>through</h4>
<pre><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;through(<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valSerde,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</pre>
<div class="block">Materialize this stream to a topic, also creates a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> from the topic.
If <code>keySerde</code> provides a <code>org.apache.kafka.streams.kstream.internals.WindowedSerializer</code>
for the key <code>org.apache.kafka.streams.kstream.internals.WindowedStreamPartitioner</code> is used
&mdash; otherwise producer's <code>DefaultPartitioner</code> is used.
This is equivalent to calling <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#to(org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde,%20java.lang.String)"><code>to(Serde, Serde, String)</code></a> and
<a href="../../../../../org/apache/kafka/streams/kstream/KStreamBuilder.html#stream(org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde,%20java.lang.String...)"><code>KStreamBuilder.stream(Serde, Serde, String...)</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>keySerde</code> - key serde used to send key-value pairs,
if not specified the default key serde defined in the configuration will be used</dd><dd><code>valSerde</code> - value serde used to send key-value pairs,
if not specified the default value serde defined in the configuration will be used</dd><dd><code>topic</code> - the topic name</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains the exact same records as this <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a></dd></dl>
</li>
</ul>
<a name="through(org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde, org.apache.kafka.streams.processor.StreamPartitioner, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>through</h4>
<pre><a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;through(<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valSerde,
<a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor">StreamPartitioner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;partitioner,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</pre>
<div class="block">Materialize this stream to a topic, also creates a new instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> from the topic
using a customizable <a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor"><code>StreamPartitioner</code></a> to determine the distribution of records to partitions.
This is equivalent to calling <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html#to(org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.streams.processor.StreamPartitioner,%20java.lang.String)"><code>to(Serde, Serde, StreamPartitioner, String)</code></a> and
<a href="../../../../../org/apache/kafka/streams/kstream/KStreamBuilder.html#stream(org.apache.kafka.common.serialization.Serde,%20org.apache.kafka.common.serialization.Serde,%20java.lang.String...)"><code>KStreamBuilder.stream(Serde, Serde, String...)</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>keySerde</code> - key serde used to send key-value pairs,
if not specified the default key serde defined in the configuration will be used</dd><dd><code>valSerde</code> - value serde used to send key-value pairs,
if not specified the default value serde defined in the configuration will be used</dd><dd><code>partitioner</code> - the function used to determine how records are distributed among partitions of the topic,
if not specified and <code>keySerde</code> provides a <code>org.apache.kafka.streams.kstream.internals.WindowedSerializer</code> for the key
<code>org.apache.kafka.streams.kstream.internals.WindowedStreamPartitioner</code> will be used
&mdash; otherwise <code>DefaultPartitioner</code> will be used</dd><dd><code>topic</code> - the topic name</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains the exact same records as this <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a></dd></dl>
</li>
</ul>
<a name="to(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>to</h4>
<pre>void&nbsp;to(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</pre>
<div class="block">Materialize this stream to a topic using default serializers specified in the config
and producer's <code>DefaultPartitioner</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>topic</code> - the topic name</dd></dl>
</li>
</ul>
<a name="to(org.apache.kafka.streams.processor.StreamPartitioner, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>to</h4>
<pre>void&nbsp;to(<a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor">StreamPartitioner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;partitioner,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</pre>
<div class="block">Materialize this stream to a topic using default serializers specified in the config and a customizable
<a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor"><code>StreamPartitioner</code></a> to determine the distribution of records to partitions.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>partitioner</code> - the function used to determine how records are distributed among partitions of the topic,
if not specified producer's <code>DefaultPartitioner</code> will be used</dd><dd><code>topic</code> - the topic name</dd></dl>
</li>
</ul>
<a name="to(org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>to</h4>
<pre>void&nbsp;to(<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valSerde,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</pre>
<div class="block">Materialize this stream to a topic. If <code>keySerde</code> provides a
<code>org.apache.kafka.streams.kstream.internals.WindowedSerializer</code> for the key
<code>org.apache.kafka.streams.kstream.internals.WindowedStreamPartitioner</code> is used
&mdash; otherwise producer's <code>DefaultPartitioner</code> is used.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>keySerde</code> - key serde used to send key-value pairs,
if not specified the default serde defined in the configs will be used</dd><dd><code>valSerde</code> - value serde used to send key-value pairs,
if not specified the default serde defined in the configs will be used</dd><dd><code>topic</code> - the topic name</dd></dl>
</li>
</ul>
<a name="to(org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde, org.apache.kafka.streams.processor.StreamPartitioner, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>to</h4>
<pre>void&nbsp;to(<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valSerde,
<a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor">StreamPartitioner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;partitioner,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</pre>
<div class="block">Materialize this stream to a topic using a customizable <a href="../../../../../org/apache/kafka/streams/processor/StreamPartitioner.html" title="interface in org.apache.kafka.streams.processor"><code>StreamPartitioner</code></a> to determine the distribution of records to partitions.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>keySerde</code> - key serde used to send key-value pairs,
if not specified the default serde defined in the configs will be used</dd><dd><code>valSerde</code> - value serde used to send key-value pairs,
if not specified the default serde defined in the configs will be used</dd><dd><code>partitioner</code> - the function used to determine how records are distributed among partitions of the topic,
if not specified and <code>keySerde</code> provides a <code>org.apache.kafka.streams.kstream.internals.WindowedSerializer</code> for the key
<code>org.apache.kafka.streams.kstream.internals.WindowedStreamPartitioner</code> will be used
&mdash; otherwise <code>DefaultPartitioner</code> will be used</dd><dd><code>topic</code> - the topic name</dd></dl>
</li>
</ul>
<a name="transform(org.apache.kafka.streams.kstream.TransformerSupplier, java.lang.String...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transform</h4>
<pre>&lt;K1,V1&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;K1,V1&gt;&nbsp;transform(<a href="../../../../../org/apache/kafka/streams/kstream/TransformerSupplier.html" title="interface in org.apache.kafka.streams.kstream">TransformerSupplier</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,<a href="../../../../../org/apache/kafka/streams/KeyValue.html" title="class in org.apache.kafka.streams">KeyValue</a>&lt;K1,V1&gt;&gt;&nbsp;transformerSupplier,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;stateStoreNames)</pre>
<div class="block">Create a new <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> instance by applying a <a href="../../../../../org/apache/kafka/streams/kstream/Transformer.html" title="interface in org.apache.kafka.streams.kstream"><code>Transformer</code></a> to all elements in this stream, one element at a time.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>transformerSupplier</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/TransformerSupplier.html" title="interface in org.apache.kafka.streams.kstream"><code>TransformerSupplier</code></a> that generates <a href="../../../../../org/apache/kafka/streams/kstream/Transformer.html" title="interface in org.apache.kafka.streams.kstream"><code>Transformer</code></a></dd><dd><code>stateStoreNames</code> - the names of the state store used by the processor</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> with transformed key and value types</dd></dl>
</li>
</ul>
<a name="transformValues(org.apache.kafka.streams.kstream.ValueTransformerSupplier, java.lang.String...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transformValues</h4>
<pre>&lt;R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;&nbsp;transformValues(<a href="../../../../../org/apache/kafka/streams/kstream/ValueTransformerSupplier.html" title="interface in org.apache.kafka.streams.kstream">ValueTransformerSupplier</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,R&gt;&nbsp;valueTransformerSupplier,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;stateStoreNames)</pre>
<div class="block">Create a new <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> instance by applying a <a href="../../../../../org/apache/kafka/streams/kstream/ValueTransformer.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueTransformer</code></a> to all values in this stream, one element at a time.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>valueTransformerSupplier</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/ValueTransformerSupplier.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueTransformerSupplier</code></a> that generates <a href="../../../../../org/apache/kafka/streams/kstream/ValueTransformer.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueTransformer</code></a></dd><dd><code>stateStoreNames</code> - the names of the state store used by the processor</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains records with unmodified keys and transformed values with type <code>R</code></dd></dl>
</li>
</ul>
<a name="process(org.apache.kafka.streams.processor.ProcessorSupplier, java.lang.String...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>process</h4>
<pre>void&nbsp;process(<a href="../../../../../org/apache/kafka/streams/processor/ProcessorSupplier.html" title="interface in org.apache.kafka.streams.processor">ProcessorSupplier</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;processorSupplier,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;stateStoreNames)</pre>
<div class="block">Process all elements in this stream, one element at a time, by applying a <a href="../../../../../org/apache/kafka/streams/processor/Processor.html" title="interface in org.apache.kafka.streams.processor"><code>Processor</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>processorSupplier</code> - the supplier of <a href="../../../../../org/apache/kafka/streams/processor/ProcessorSupplier.html" title="interface in org.apache.kafka.streams.processor"><code>ProcessorSupplier</code></a> that generates <a href="../../../../../org/apache/kafka/streams/processor/Processor.html" title="interface in org.apache.kafka.streams.processor"><code>Processor</code></a></dd><dd><code>stateStoreNames</code> - the names of the state store used by the processor</dd></dl>
</li>
</ul>
<a name="join(org.apache.kafka.streams.kstream.KStream, org.apache.kafka.streams.kstream.ValueJoiner, org.apache.kafka.streams.kstream.JoinWindows, org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>&lt;V1,R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;&nbsp;join(<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;otherStream,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,R&gt;&nbsp;joiner,
<a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream">JoinWindows</a>&nbsp;windows,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;thisValueSerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;V1&gt;&nbsp;otherValueSerde)</pre>
<div class="block">Combine element values of this stream with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>'s elements of the same key using windowed Inner Join.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>V1</code> - the value type of the other stream</dd><dd><code>R</code> - the value type of the new stream</dd><dt><span class="strong">Parameters:</span></dt><dd><code>otherStream</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> joined with this stream</dd><dd><code>joiner</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a></dd><dd><code>windows</code> - the specification of the <a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream"><code>JoinWindows</code></a></dd><dd><code>keySerde</code> - key serdes for materializing both streams,
if not specified the default serdes defined in the configs will be used</dd><dd><code>thisValueSerde</code> - value serdes for materializing this stream,
if not specified the default serdes defined in the configs will be used</dd><dd><code>otherValueSerde</code> - value serdes for materializing the other stream,
if not specified the default serdes defined in the configs will be used</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains join-records for each key and values computed by the given <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a>,
one for each matched record-pair with the same key and within the joining window intervals</dd></dl>
</li>
</ul>
<a name="join(org.apache.kafka.streams.kstream.KStream, org.apache.kafka.streams.kstream.ValueJoiner, org.apache.kafka.streams.kstream.JoinWindows)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>&lt;V1,R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;&nbsp;join(<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;otherStream,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,R&gt;&nbsp;joiner,
<a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream">JoinWindows</a>&nbsp;windows)</pre>
<div class="block">Combine element values of this stream with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>'s elements of the same key using windowed Inner Join
with default serializers and deserializers.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>V1</code> - the value type of the other stream</dd><dd><code>R</code> - the value type of the new stream</dd><dt><span class="strong">Parameters:</span></dt><dd><code>otherStream</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> joined with this stream</dd><dd><code>joiner</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a></dd><dd><code>windows</code> - the specification of the <a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream"><code>JoinWindows</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains join-records for each key and values computed by the given <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a>,
one for each matched record-pair with the same key and within the joining window intervals</dd></dl>
</li>
</ul>
<a name="outerJoin(org.apache.kafka.streams.kstream.KStream, org.apache.kafka.streams.kstream.ValueJoiner, org.apache.kafka.streams.kstream.JoinWindows, org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>outerJoin</h4>
<pre>&lt;V1,R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;&nbsp;outerJoin(<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;otherStream,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,R&gt;&nbsp;joiner,
<a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream">JoinWindows</a>&nbsp;windows,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;thisValueSerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;V1&gt;&nbsp;otherValueSerde)</pre>
<div class="block">Combine values of this stream with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>'s elements of the same key using windowed Outer Join.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>V1</code> - the value type of the other stream</dd><dd><code>R</code> - the value type of the new stream</dd><dt><span class="strong">Parameters:</span></dt><dd><code>otherStream</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> joined with this stream</dd><dd><code>joiner</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a></dd><dd><code>windows</code> - the specification of the <a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream"><code>JoinWindows</code></a></dd><dd><code>keySerde</code> - key serdes for materializing both streams,
if not specified the default serdes defined in the configs will be used</dd><dd><code>thisValueSerde</code> - value serdes for materializing this stream,
if not specified the default serdes defined in the configs will be used</dd><dd><code>otherValueSerde</code> - value serdes for materializing the other stream,
if not specified the default serdes defined in the configs will be used</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains join-records for each key and values computed by the given <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a>,
one for each matched record-pair with the same key and within the joining window intervals</dd></dl>
</li>
</ul>
<a name="outerJoin(org.apache.kafka.streams.kstream.KStream, org.apache.kafka.streams.kstream.ValueJoiner, org.apache.kafka.streams.kstream.JoinWindows)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>outerJoin</h4>
<pre>&lt;V1,R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;&nbsp;outerJoin(<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;otherStream,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,R&gt;&nbsp;joiner,
<a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream">JoinWindows</a>&nbsp;windows)</pre>
<div class="block">Combine values of this stream with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>'s elements of the same key using windowed Outer Join
with default serializers and deserializers.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>V1</code> - the value type of the other stream</dd><dd><code>R</code> - the value type of the new stream</dd><dt><span class="strong">Parameters:</span></dt><dd><code>otherStream</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> joined with this stream</dd><dd><code>joiner</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a></dd><dd><code>windows</code> - the specification of the <a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream"><code>JoinWindows</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains join-records for each key and values computed by the given <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a>,
one for each matched record-pair with the same key and within the joining window intervals</dd></dl>
</li>
</ul>
<a name="leftJoin(org.apache.kafka.streams.kstream.KStream, org.apache.kafka.streams.kstream.ValueJoiner, org.apache.kafka.streams.kstream.JoinWindows, org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leftJoin</h4>
<pre>&lt;V1,R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;&nbsp;leftJoin(<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;otherStream,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,R&gt;&nbsp;joiner,
<a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream">JoinWindows</a>&nbsp;windows,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;V1&gt;&nbsp;otherValueSerde)</pre>
<div class="block">Combine values of this stream with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>'s elements of the same key using windowed Left Join.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>V1</code> - the value type of the other stream</dd><dd><code>R</code> - the value type of the new stream</dd><dt><span class="strong">Parameters:</span></dt><dd><code>otherStream</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> joined with this stream</dd><dd><code>joiner</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a></dd><dd><code>windows</code> - the specification of the <a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream"><code>JoinWindows</code></a></dd><dd><code>keySerde</code> - key serdes for materializing the other stream,
if not specified the default serdes defined in the configs will be used</dd><dd><code>otherValueSerde</code> - value serdes for materializing the other stream,
if not specified the default serdes defined in the configs will be used</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains join-records for each key and values computed by the given <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a>,
one for each matched record-pair with the same key and within the joining window intervals</dd></dl>
</li>
</ul>
<a name="leftJoin(org.apache.kafka.streams.kstream.KStream, org.apache.kafka.streams.kstream.ValueJoiner, org.apache.kafka.streams.kstream.JoinWindows)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leftJoin</h4>
<pre>&lt;V1,R&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,R&gt;&nbsp;leftJoin(<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;otherStream,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,R&gt;&nbsp;joiner,
<a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream">JoinWindows</a>&nbsp;windows)</pre>
<div class="block">Combine values of this stream with another <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a>'s elements of the same key using windowed Left Join
with default serializers and deserializers.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>V1</code> - the value type of the other stream</dd><dd><code>R</code> - the value type of the new stream</dd><dt><span class="strong">Parameters:</span></dt><dd><code>otherStream</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> joined with this stream</dd><dd><code>joiner</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a></dd><dd><code>windows</code> - the specification of the <a href="../../../../../org/apache/kafka/streams/kstream/JoinWindows.html" title="class in org.apache.kafka.streams.kstream"><code>JoinWindows</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains join-records for each key and values computed by the given <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a>,
one for each matched record-pair with the same key and within the joining window intervals</dd></dl>
</li>
</ul>
<a name="leftJoin(org.apache.kafka.streams.kstream.KTable, org.apache.kafka.streams.kstream.ValueJoiner)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leftJoin</h4>
<pre>&lt;V1,V2&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream">KStream</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V2&gt;&nbsp;leftJoin(<a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,V1&gt;&nbsp;table,
<a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream">ValueJoiner</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,V1,V2&gt;&nbsp;joiner)</pre>
<div class="block">Combine values of this stream with <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>'s elements of the same key using non-windowed Left Join.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>V1</code> - the value type of the table</dd><dd><code>V2</code> - the value type of the new stream</dd><dt><span class="strong">Parameters:</span></dt><dd><code>table</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> joined with this stream</dd><dd><code>joiner</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="interface in org.apache.kafka.streams.kstream"><code>KStream</code></a> that contains join-records for each key and values computed by the given <a href="../../../../../org/apache/kafka/streams/kstream/ValueJoiner.html" title="interface in org.apache.kafka.streams.kstream"><code>ValueJoiner</code></a>,
one for each matched record-pair with the same key</dd></dl>
</li>
</ul>
<a name="reduceByKey(org.apache.kafka.streams.kstream.Reducer, org.apache.kafka.streams.kstream.Windows, org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reduceByKey</h4>
<pre>&lt;W extends <a href="../../../../../org/apache/kafka/streams/kstream/Window.html" title="class in org.apache.kafka.streams.kstream">Window</a>&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/Windowed.html" title="class in org.apache.kafka.streams.kstream">Windowed</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;reduceByKey(<a href="../../../../../org/apache/kafka/streams/kstream/Reducer.html" title="interface in org.apache.kafka.streams.kstream">Reducer</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;reducer,
<a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream">Windows</a>&lt;W&gt;&nbsp;windows,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valueSerde)</pre>
<div class="block">Combine values of this stream by key on a window basis into a new instance of windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reducer</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/Reducer.html" title="interface in org.apache.kafka.streams.kstream"><code>Reducer</code></a></dd><dd><code>windows</code> - the specification of the aggregation <a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream"><code>Windows</code></a></dd><dd><code>keySerde</code> - key serdes for materializing the aggregated table,
if not specified the default serdes defined in the configs will be used</dd><dd><code>valueSerde</code> - value serdes for materializing the aggregated table,
if not specified the default serdes defined in the configs will be used</dd>
<dt><span class="strong">Returns:</span></dt><dd>a windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> which can be treated as a list of <code>KTable</code>s
where each table contains records with unmodified keys and values
that represent the latest (rolling) aggregate for each key within that window</dd></dl>
</li>
</ul>
<a name="reduceByKey(org.apache.kafka.streams.kstream.Reducer, org.apache.kafka.streams.kstream.Windows)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reduceByKey</h4>
<pre>&lt;W extends <a href="../../../../../org/apache/kafka/streams/kstream/Window.html" title="class in org.apache.kafka.streams.kstream">Window</a>&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/Windowed.html" title="class in org.apache.kafka.streams.kstream">Windowed</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;reduceByKey(<a href="../../../../../org/apache/kafka/streams/kstream/Reducer.html" title="interface in org.apache.kafka.streams.kstream">Reducer</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;reducer,
<a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream">Windows</a>&lt;W&gt;&nbsp;windows)</pre>
<div class="block">Combine values of this stream by key on a window basis into a new instance of windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>
with default serializers and deserializers.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reducer</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/Reducer.html" title="interface in org.apache.kafka.streams.kstream"><code>Reducer</code></a></dd><dd><code>windows</code> - the specification of the aggregation <a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream"><code>Windows</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> which can be treated as a list of <code>KTable</code>s
where each table contains records with unmodified keys and values
that represent the latest (rolling) aggregate for each key within that window</dd></dl>
</li>
</ul>
<a name="reduceByKey(org.apache.kafka.streams.kstream.Reducer, org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reduceByKey</h4>
<pre><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;reduceByKey(<a href="../../../../../org/apache/kafka/streams/kstream/Reducer.html" title="interface in org.apache.kafka.streams.kstream">Reducer</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;reducer,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;valueSerde,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Combine values of this stream by key into a new instance of ever-updating <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reducer</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/Reducer.html" title="interface in org.apache.kafka.streams.kstream"><code>Reducer</code></a></dd><dd><code>keySerde</code> - key serdes for materializing the aggregated table,
if not specified the default serdes defined in the configs will be used</dd><dd><code>valueSerde</code> - value serdes for materializing the aggregated table,
if not specified the default serdes defined in the configs will be used</dd><dd><code>name</code> - the name of the resulted <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> that contains records with unmodified keys and values that represent the latest (rolling) aggregate for each key</dd></dl>
</li>
</ul>
<a name="reduceByKey(org.apache.kafka.streams.kstream.Reducer, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reduceByKey</h4>
<pre><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;reduceByKey(<a href="../../../../../org/apache/kafka/streams/kstream/Reducer.html" title="interface in org.apache.kafka.streams.kstream">Reducer</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>&gt;&nbsp;reducer,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Combine values of this stream by key into a new instance of ever-updating <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> with default serializers and deserializers.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reducer</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/Reducer.html" title="interface in org.apache.kafka.streams.kstream"><code>Reducer</code></a></dd><dd><code>name</code> - the name of the resulted <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> that contains records with unmodified keys and values that represent the latest (rolling) aggregate for each key</dd></dl>
</li>
</ul>
<a name="aggregateByKey(org.apache.kafka.streams.kstream.Initializer, org.apache.kafka.streams.kstream.Aggregator, org.apache.kafka.streams.kstream.Windows, org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateByKey</h4>
<pre>&lt;T,W extends <a href="../../../../../org/apache/kafka/streams/kstream/Window.html" title="class in org.apache.kafka.streams.kstream">Window</a>&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/Windowed.html" title="class in org.apache.kafka.streams.kstream">Windowed</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;,T&gt;&nbsp;aggregateByKey(<a href="../../../../../org/apache/kafka/streams/kstream/Initializer.html" title="interface in org.apache.kafka.streams.kstream">Initializer</a>&lt;T&gt;&nbsp;initializer,
<a href="../../../../../org/apache/kafka/streams/kstream/Aggregator.html" title="interface in org.apache.kafka.streams.kstream">Aggregator</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,T&gt;&nbsp;aggregator,
<a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream">Windows</a>&lt;W&gt;&nbsp;windows,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;T&gt;&nbsp;aggValueSerde)</pre>
<div class="block">Aggregate values of this stream by key on a window basis into a new instance of windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the value type of the resulted <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a></dd><dt><span class="strong">Parameters:</span></dt><dd><code>initializer</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/Initializer.html" title="interface in org.apache.kafka.streams.kstream"><code>Initializer</code></a></dd><dd><code>aggregator</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/Aggregator.html" title="interface in org.apache.kafka.streams.kstream"><code>Aggregator</code></a></dd><dd><code>windows</code> - the specification of the aggregation <a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream"><code>Windows</code></a></dd><dd><code>keySerde</code> - key serdes for materializing the aggregated table,
if not specified the default serdes defined in the configs will be used</dd><dd><code>aggValueSerde</code> - aggregate value serdes for materializing the aggregated table,
if not specified the default serdes defined in the configs will be used</dd>
<dt><span class="strong">Returns:</span></dt><dd>a windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> which can be treated as a list of <code>KTable</code>s
where each table contains records with unmodified keys and values with type <code>T</code>
that represent the latest (rolling) aggregate for each key within that window</dd></dl>
</li>
</ul>
<a name="aggregateByKey(org.apache.kafka.streams.kstream.Initializer, org.apache.kafka.streams.kstream.Aggregator, org.apache.kafka.streams.kstream.Windows)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateByKey</h4>
<pre>&lt;T,W extends <a href="../../../../../org/apache/kafka/streams/kstream/Window.html" title="class in org.apache.kafka.streams.kstream">Window</a>&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/Windowed.html" title="class in org.apache.kafka.streams.kstream">Windowed</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;,T&gt;&nbsp;aggregateByKey(<a href="../../../../../org/apache/kafka/streams/kstream/Initializer.html" title="interface in org.apache.kafka.streams.kstream">Initializer</a>&lt;T&gt;&nbsp;initializer,
<a href="../../../../../org/apache/kafka/streams/kstream/Aggregator.html" title="interface in org.apache.kafka.streams.kstream">Aggregator</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,T&gt;&nbsp;aggregator,
<a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream">Windows</a>&lt;W&gt;&nbsp;windows)</pre>
<div class="block">Aggregate values of this stream by key on a window basis into a new instance of windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>
with default serializers and deserializers.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the value type of the resulted <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a></dd><dt><span class="strong">Parameters:</span></dt><dd><code>initializer</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/Initializer.html" title="interface in org.apache.kafka.streams.kstream"><code>Initializer</code></a></dd><dd><code>aggregator</code> - the instance of <a href="../../../../../org/apache/kafka/streams/kstream/Aggregator.html" title="interface in org.apache.kafka.streams.kstream"><code>Aggregator</code></a></dd><dd><code>windows</code> - the specification of the aggregation <a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream"><code>Windows</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> which can be treated as a list of <code>KTable</code>s
where each table contains records with unmodified keys and values with type <code>T</code>
that represent the latest (rolling) aggregate for each key within that window</dd></dl>
</li>
</ul>
<a name="aggregateByKey(org.apache.kafka.streams.kstream.Initializer, org.apache.kafka.streams.kstream.Aggregator, org.apache.kafka.common.serialization.Serde, org.apache.kafka.common.serialization.Serde, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateByKey</h4>
<pre>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,T&gt;&nbsp;aggregateByKey(<a href="../../../../../org/apache/kafka/streams/kstream/Initializer.html" title="interface in org.apache.kafka.streams.kstream">Initializer</a>&lt;T&gt;&nbsp;initializer,
<a href="../../../../../org/apache/kafka/streams/kstream/Aggregator.html" title="interface in org.apache.kafka.streams.kstream">Aggregator</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,T&gt;&nbsp;aggregator,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;T&gt;&nbsp;aggValueSerde,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Aggregate values of this stream by key into a new instance of ever-updating <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the value type of the resulted <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a></dd><dt><span class="strong">Parameters:</span></dt><dd><code>initializer</code> - the class of <a href="../../../../../org/apache/kafka/streams/kstream/Initializer.html" title="interface in org.apache.kafka.streams.kstream"><code>Initializer</code></a></dd><dd><code>aggregator</code> - the class of <a href="../../../../../org/apache/kafka/streams/kstream/Aggregator.html" title="interface in org.apache.kafka.streams.kstream"><code>Aggregator</code></a></dd><dd><code>keySerde</code> - key serdes for materializing the aggregated table,
if not specified the default serdes defined in the configs will be used</dd><dd><code>aggValueSerde</code> - aggregate value serdes for materializing the aggregated table,
if not specified the default serdes defined in the configs will be used</dd><dd><code>name</code> - the name of the resulted <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> that contains records with unmodified keys and values (of different type) that represent the latest (rolling) aggregate for each key</dd></dl>
</li>
</ul>
<a name="aggregateByKey(org.apache.kafka.streams.kstream.Initializer, org.apache.kafka.streams.kstream.Aggregator, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateByKey</h4>
<pre>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,T&gt;&nbsp;aggregateByKey(<a href="../../../../../org/apache/kafka/streams/kstream/Initializer.html" title="interface in org.apache.kafka.streams.kstream">Initializer</a>&lt;T&gt;&nbsp;initializer,
<a href="../../../../../org/apache/kafka/streams/kstream/Aggregator.html" title="interface in org.apache.kafka.streams.kstream">Aggregator</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">V</a>,T&gt;&nbsp;aggregator,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Aggregate values of this stream by key into a new instance of ever-updating <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>
with default serializers and deserializers.</div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the value type of the resulted <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a></dd><dt><span class="strong">Parameters:</span></dt><dd><code>initializer</code> - the class of <a href="../../../../../org/apache/kafka/streams/kstream/Initializer.html" title="interface in org.apache.kafka.streams.kstream"><code>Initializer</code></a></dd><dd><code>aggregator</code> - the class of <a href="../../../../../org/apache/kafka/streams/kstream/Aggregator.html" title="interface in org.apache.kafka.streams.kstream"><code>Aggregator</code></a></dd><dd><code>name</code> - the name of the resulted <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> that contains records with unmodified keys and values (of different type) that represent the latest (rolling) aggregate for each key</dd></dl>
</li>
</ul>
<a name="countByKey(org.apache.kafka.streams.kstream.Windows, org.apache.kafka.common.serialization.Serde)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countByKey</h4>
<pre>&lt;W extends <a href="../../../../../org/apache/kafka/streams/kstream/Window.html" title="class in org.apache.kafka.streams.kstream">Window</a>&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/Windowed.html" title="class in org.apache.kafka.streams.kstream">Windowed</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;&nbsp;countByKey(<a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream">Windows</a>&lt;W&gt;&nbsp;windows,
<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde)</pre>
<div class="block">Count number of records of this stream by key on a window basis into a new instance of windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>windows</code> - the specification of the aggregation <a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream"><code>Windows</code></a></dd><dd><code>keySerde</code> - key serdes for materializing the counting table,
if not specified the default serdes defined in the configs will be used</dd>
<dt><span class="strong">Returns:</span></dt><dd>a windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> which can be treated as a list of <code>KTable</code>s
where each table contains records with unmodified keys and values
that represent the latest (rolling) count (i.e., number of records) for each key within that window</dd></dl>
</li>
</ul>
<a name="countByKey(org.apache.kafka.streams.kstream.Windows)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countByKey</h4>
<pre>&lt;W extends <a href="../../../../../org/apache/kafka/streams/kstream/Window.html" title="class in org.apache.kafka.streams.kstream">Window</a>&gt;&nbsp;<a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/Windowed.html" title="class in org.apache.kafka.streams.kstream">Windowed</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;&nbsp;countByKey(<a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream">Windows</a>&lt;W&gt;&nbsp;windows)</pre>
<div class="block">Count number of records of this stream by key on a window basis into a new instance of windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>
with default serializers and deserializers.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>windows</code> - the specification of the aggregation <a href="../../../../../org/apache/kafka/streams/kstream/Windows.html" title="class in org.apache.kafka.streams.kstream"><code>Windows</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a windowed <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> which can be treated as a list of <code>KTable</code>s
where each table contains records with unmodified keys and values
that represent the latest (rolling) count (i.e., number of records) for each key within that window</dd></dl>
</li>
</ul>
<a name="countByKey(org.apache.kafka.common.serialization.Serde, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countByKey</h4>
<pre><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;&nbsp;countByKey(<a href="../../../../../org/apache/kafka/common/serialization/Serde.html" title="interface in org.apache.kafka.common.serialization">Serde</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>&gt;&nbsp;keySerde,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Count number of records of this stream by key into a new instance of ever-updating <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>keySerde</code> - key serdes for materializing the counting table,
if not specified the default serdes defined in the configs will be used</dd><dd><code>name</code> - the name of the resulted <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> that contains records with unmodified keys and values that represent the latest (rolling) count (i.e., number of records) for each key</dd></dl>
</li>
</ul>
<a name="countByKey(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>countByKey</h4>
<pre><a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream">KTable</a>&lt;<a href="../../../../../org/apache/kafka/streams/kstream/KStream.html" title="type parameter in KStream">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;&nbsp;countByKey(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Count number of records of this stream by key into a new instance of ever-updating <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a>
with default serializers and deserializers.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the resulted <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/kafka/streams/kstream/KTable.html" title="interface in org.apache.kafka.streams.kstream"><code>KTable</code></a> that contains records with unmodified keys and values that represent the latest (rolling) count (i.e., number of records) for each key</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/kafka/streams/kstream/KGroupedTable.html" title="interface in org.apache.kafka.streams.kstream"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/apache/kafka/streams/kstream/KStreamBuilder.html" title="class in org.apache.kafka.streams.kstream"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/kafka/streams/kstream/KStream.html" target="_top">Frames</a></li>
<li><a href="KStream.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>