blob: e9f7cb9d9a70b55f30a98fdae9d071a64e4d22c5 [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 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.storm.streams.Stream (Storm 2.4.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.apache.storm.streams.Stream (Storm 2.4.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<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><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/storm/streams/class-use/Stream.html" target="_top">Frames</a></li>
<li><a href="Stream.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.apache.storm.streams.Stream" class="title">Uses of Class<br>org.apache.storm.streams.Stream</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.storm.sql">org.apache.storm.sql</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.storm.sql.planner.streams">org.apache.storm.sql.planner.streams</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.storm.streams">org.apache.storm.streams</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.storm.sql">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a> in <a href="../../../../../org/apache/storm/sql/package-summary.html">org.apache.storm.sql</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../../org/apache/storm/sql/package-summary.html">org.apache.storm.sql</a> declared as <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/tuple/Values.html" title="class in org.apache.storm.tuple">Values</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">AbstractStreamsProcessor.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/sql/AbstractStreamsProcessor.html#outputStream">outputStream</a></span></code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/storm/sql/package-summary.html">org.apache.storm.sql</a> that return <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/tuple/Values.html" title="class in org.apache.storm.tuple">Values</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">AbstractStreamsProcessor.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/sql/AbstractStreamsProcessor.html#outputStream--">outputStream</a></span>()</code>
<div class="block">Return final output stream of SQL topology structure.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.storm.sql.planner.streams">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a> in <a href="../../../../../org/apache/storm/sql/planner/streams/package-summary.html">org.apache.storm.sql.planner.streams</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/storm/sql/planner/streams/package-summary.html">org.apache.storm.sql.planner.streams</a> that return <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/tuple/Values.html" title="class in org.apache.storm.tuple">Values</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">StreamsPlanCreator.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/sql/planner/streams/StreamsPlanCreator.html#pop--">pop</a></span>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/storm/sql/planner/streams/package-summary.html">org.apache.storm.sql.planner.streams</a> with parameters of type <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StreamsPlanCreator.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/sql/planner/streams/StreamsPlanCreator.html#addStream-org.apache.storm.streams.Stream-">addStream</a></span>(<a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/tuple/Values.html" title="class in org.apache.storm.tuple">Values</a>&gt;&nbsp;stream)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.storm.streams">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a> in <a href="../../../../../org/apache/storm/streams/package-summary.html">org.apache.storm.streams</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
<caption><span>Subclasses of <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a> in <a href="../../../../../org/apache/storm/streams/package-summary.html">org.apache.storm.streams</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/PairStream.html" title="class in org.apache.storm.streams">PairStream</a>&lt;K,V&gt;</span></code>
<div class="block">Represents a stream of key-value pairs.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/storm/streams/package-summary.html">org.apache.storm.streams</a> that return <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>&lt;A,R&gt;&nbsp;<a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;R&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/Stream.html#aggregate-org.apache.storm.streams.operations.CombinerAggregator-">aggregate</a></span>(<a href="../../../../../org/apache/storm/streams/operations/CombinerAggregator.html" title="interface in org.apache.storm.streams.operations">CombinerAggregator</a>&lt;? super <a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>,A,? extends R&gt;&nbsp;aggregator)</code>
<div class="block">Aggregates the values in this stream using the aggregator.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;R&gt;&nbsp;<a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;R&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/Stream.html#aggregate-R-org.apache.storm.streams.operations.BiFunction-org.apache.storm.streams.operations.BiFunction-">aggregate</a></span>(R&nbsp;initialValue,
<a href="../../../../../org/apache/storm/streams/operations/BiFunction.html" title="interface in org.apache.storm.streams.operations">BiFunction</a>&lt;? super R,? super <a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>,? extends R&gt;&nbsp;accumulator,
<a href="../../../../../org/apache/storm/streams/operations/BiFunction.html" title="interface in org.apache.storm.streams.operations">BiFunction</a>&lt;? super R,? super R,? extends R&gt;&nbsp;combiner)</code>
<div class="block">Aggregates the values in this stream using the given initial value, accumulator and combiner.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>&gt;[]</code></td>
<td class="colLast"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/Stream.html#branch-org.apache.storm.streams.operations.Predicate...-">branch</a></span>(<a href="../../../../../org/apache/storm/streams/operations/Predicate.html" title="interface in org.apache.storm.streams.operations">Predicate</a>&lt;? super <a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>&gt;...&nbsp;predicates)</code>
<div class="block">Returns an array of streams by splitting the given stream into multiple branches based on the given predicates.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/Stream.html#count--">count</a></span>()</code>
<div class="block">Counts the number of values in this stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/Stream.html#filter-org.apache.storm.streams.operations.Predicate-">filter</a></span>(<a href="../../../../../org/apache/storm/streams/operations/Predicate.html" title="interface in org.apache.storm.streams.operations">Predicate</a>&lt;? super <a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>&gt;&nbsp;predicate)</code>
<div class="block">Returns a stream consisting of the elements of this stream that matches the given filter.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;R&gt;&nbsp;<a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;R&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/Stream.html#flatMap-org.apache.storm.streams.operations.FlatMapFunction-">flatMap</a></span>(<a href="../../../../../org/apache/storm/streams/operations/FlatMapFunction.html" title="interface in org.apache.storm.streams.operations">FlatMapFunction</a>&lt;? super <a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>,? extends R&gt;&nbsp;function)</code>
<div class="block">Returns a stream consisting of the results of replacing each value of this stream with the contents produced by applying the provided mapping function to each value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;R&gt;&nbsp;<a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;R&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/Stream.html#map-org.apache.storm.streams.operations.Function-">map</a></span>(<a href="../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</a>&lt;? super <a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>,? extends R&gt;&nbsp;function)</code>
<div class="block">Returns a stream consisting of the result of applying the given mapping function to the values of this stream.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">StreamBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/StreamBuilder.html#newStream-org.apache.storm.topology.IRichSpout-">newStream</a></span>(<a href="../../../../../org/apache/storm/topology/IRichSpout.html" title="interface in org.apache.storm.topology">IRichSpout</a>&nbsp;spout)</code>
<div class="block">Creates a new <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams"><code>Stream</code></a> of tuples from the given <a href="../../../../../org/apache/storm/topology/IRichSpout.html" title="interface in org.apache.storm.topology"><code>IRichSpout</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">StreamBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/StreamBuilder.html#newStream-org.apache.storm.topology.IRichSpout-int-">newStream</a></span>(<a href="../../../../../org/apache/storm/topology/IRichSpout.html" title="interface in org.apache.storm.topology">IRichSpout</a>&nbsp;spout,
int&nbsp;parallelism)</code>
<div class="block">Creates a new <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams"><code>Stream</code></a> of tuples from the given <a href="../../../../../org/apache/storm/topology/IRichSpout.html" title="interface in org.apache.storm.topology"><code>IRichSpout</code></a> with the given parallelism.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">StreamBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/StreamBuilder.html#newStream-org.apache.storm.topology.IRichSpout-org.apache.storm.streams.operations.mappers.TupleValueMapper-">newStream</a></span>(<a href="../../../../../org/apache/storm/topology/IRichSpout.html" title="interface in org.apache.storm.topology">IRichSpout</a>&nbsp;spout,
<a href="../../../../../org/apache/storm/streams/operations/mappers/TupleValueMapper.html" title="interface in org.apache.storm.streams.operations.mappers">TupleValueMapper</a>&lt;T&gt;&nbsp;valueMapper)</code>
<div class="block">Creates a new <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams"><code>Stream</code></a> of values from the given <a href="../../../../../org/apache/storm/topology/IRichSpout.html" title="interface in org.apache.storm.topology"><code>IRichSpout</code></a> by extracting field(s) from tuples via the supplied <a href="../../../../../org/apache/storm/streams/operations/mappers/TupleValueMapper.html" title="interface in org.apache.storm.streams.operations.mappers"><code>TupleValueMapper</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">StreamBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/StreamBuilder.html#newStream-org.apache.storm.topology.IRichSpout-org.apache.storm.streams.operations.mappers.TupleValueMapper-int-">newStream</a></span>(<a href="../../../../../org/apache/storm/topology/IRichSpout.html" title="interface in org.apache.storm.topology">IRichSpout</a>&nbsp;spout,
<a href="../../../../../org/apache/storm/streams/operations/mappers/TupleValueMapper.html" title="interface in org.apache.storm.streams.operations.mappers">TupleValueMapper</a>&lt;T&gt;&nbsp;valueMapper,
int&nbsp;parallelism)</code>
<div class="block">Creates a new <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams"><code>Stream</code></a> of values from the given <a href="../../../../../org/apache/storm/topology/IRichSpout.html" title="interface in org.apache.storm.topology"><code>IRichSpout</code></a> by extracting field(s) from tuples via the supplied <a href="../../../../../org/apache/storm/streams/operations/mappers/TupleValueMapper.html" title="interface in org.apache.storm.streams.operations.mappers"><code>TupleValueMapper</code></a> with the given parallelism.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/Stream.html#partitionBy-org.apache.storm.tuple.Fields-int-">partitionBy</a></span>(<a href="../../../../../org/apache/storm/tuple/Fields.html" title="class in org.apache.storm.tuple">Fields</a>&nbsp;fields,
int&nbsp;parallelism)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/Stream.html#peek-org.apache.storm.streams.operations.Consumer-">peek</a></span>(<a href="../../../../../org/apache/storm/streams/operations/Consumer.html" title="interface in org.apache.storm.streams.operations">Consumer</a>&lt;? super <a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>&gt;&nbsp;action)</code>
<div class="block">Returns a stream consisting of the elements of this stream, additionally performing the provided action on each element as they are consumed from the resulting stream.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/Stream.html#reduce-org.apache.storm.streams.operations.Reducer-">reduce</a></span>(<a href="../../../../../org/apache/storm/streams/operations/Reducer.html" title="interface in org.apache.storm.streams.operations">Reducer</a>&lt;<a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>&gt;&nbsp;reducer)</code>
<div class="block">Performs a reduction on the elements of this stream, by repeatedly applying the reducer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/Stream.html#repartition-int-">repartition</a></span>(int&nbsp;parallelism)</code>
<div class="block">Returns a new stream with the given value of parallelism.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Stream</a>&lt;<a href="../../../../../org/apache/storm/streams/Stream.html" title="type parameter in Stream">T</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/streams/Stream.html#window-org.apache.storm.streams.windowing.Window-">window</a></span>(<a href="../../../../../org/apache/storm/streams/windowing/Window.html" title="interface in org.apache.storm.streams.windowing">Window</a>&lt;?,?&gt;&nbsp;window)</code>
<div class="block">Returns a new stream consisting of the elements that fall within the window as specified by the window parameter.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<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><a href="../../../../../org/apache/storm/streams/Stream.html" title="class in org.apache.storm.streams">Class</a></li>
<li class="navBarCell1Rev">Use</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 class="aboutLanguage"><script type="text/javascript" src="../../../../../highlight.pack.js"></script>
<script type="text/javascript"><!--
hljs.initHighlightingOnLoad();
//--></script></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/storm/streams/class-use/Stream.html" target="_top">Frames</a></li>
<li><a href="Stream.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>