blob: 53ef3a4f8aee6dccfcc9f7fd64c817803bc78fdb [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 Interface org.apache.storm.streams.operations.Function (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 Interface org.apache.storm.streams.operations.Function (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/operations/Function.html" title="interface in org.apache.storm.streams.operations">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/operations/class-use/Function.html" target="_top">Frames</a></li>
<li><a href="Function.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 Interface org.apache.storm.streams.operations.Function" class="title">Uses of Interface<br>org.apache.storm.streams.operations.Function</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/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</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.runtime.streams.functions">org.apache.storm.sql.runtime.streams.functions</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.storm.streams">org.apache.storm.streams</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.storm.streams.operations">org.apache.storm.streams.operations</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.storm.streams.operations.mappers">org.apache.storm.streams.operations.mappers</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.storm.streams.processors">org.apache.storm.streams.processors</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.runtime.streams.functions">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</a> in <a href="../../../../../../org/apache/storm/sql/runtime/streams/functions/package-summary.html">org.apache.storm.sql.runtime.streams.functions</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../../../org/apache/storm/sql/runtime/streams/functions/package-summary.html">org.apache.storm.sql.runtime.streams.functions</a> that implement <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</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/sql/runtime/streams/functions/EvaluationCalc.html" title="class in org.apache.storm.sql.runtime.streams.functions">EvaluationCalc</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/storm/sql/runtime/streams/functions/EvaluationFunction.html" title="class in org.apache.storm.sql.runtime.streams.functions">EvaluationFunction</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/storm/sql/runtime/streams/functions/StreamInsertMapToPairFunction.html" title="class in org.apache.storm.sql.runtime.streams.functions">StreamInsertMapToPairFunction</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/storm/sql/runtime/streams/functions/StreamsScanTupleValueMapper.html" title="class in org.apache.storm.sql.runtime.streams.functions">StreamsScanTupleValueMapper</a></span></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/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</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 methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/storm/streams/package-summary.html">org.apache.storm.streams</a> with parameters of type <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</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;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>&lt;R&gt;&nbsp;<a href="../../../../../../org/apache/storm/streams/PairStream.html" title="class in org.apache.storm.streams">PairStream</a>&lt;<a href="../../../../../../org/apache/storm/streams/PairStream.html" title="type parameter in PairStream">K</a>,R&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">PairStream.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/storm/streams/PairStream.html#mapValues-org.apache.storm.streams.operations.Function-">mapValues</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/PairStream.html" title="type parameter in PairStream">V</a>,? extends R&gt;&nbsp;function)</code>
<div class="block">Returns a new stream by applying a <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations"><code>Function</code></a> to the value of each key-value pairs in this stream.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.storm.streams.operations">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</a> in <a href="../../../../../../org/apache/storm/streams/operations/package-summary.html">org.apache.storm.streams.operations</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subinterfaces, and an explanation">
<caption><span>Subinterfaces of <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</a> in <a href="../../../../../../org/apache/storm/streams/operations/package-summary.html">org.apache.storm.streams.operations</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Interface and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/storm/streams/operations/FlatMapFunction.html" title="interface in org.apache.storm.streams.operations">FlatMapFunction</a>&lt;T,R&gt;</span></code>
<div class="block">A function that accepts one argument and returns an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> of elements as its result.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/storm/streams/operations/PairFlatMapFunction.html" title="interface in org.apache.storm.streams.operations">PairFlatMapFunction</a>&lt;T,K,V&gt;</span></code>
<div class="block">A function that accepts one argument and returns an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> of <a href="../../../../../../org/apache/storm/streams/Pair.html" title="class in org.apache.storm.streams"><code>Pair</code></a> as its result.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/storm/streams/operations/PairFunction.html" title="interface in org.apache.storm.streams.operations">PairFunction</a>&lt;T,K,V&gt;</span></code>
<div class="block">A function that accepts an argument and produces a key-value Pair.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../../../org/apache/storm/streams/operations/package-summary.html">org.apache.storm.streams.operations</a> that implement <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</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/operations/IdentityFunction.html" title="class in org.apache.storm.streams.operations">IdentityFunction</a>&lt;T&gt;</span></code>
<div class="block">A <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations"><code>Function</code></a> that returns the input argument itself as the result.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.storm.streams.operations.mappers">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</a> in <a href="../../../../../../org/apache/storm/streams/operations/mappers/package-summary.html">org.apache.storm.streams.operations.mappers</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subinterfaces, and an explanation">
<caption><span>Subinterfaces of <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</a> in <a href="../../../../../../org/apache/storm/streams/operations/mappers/package-summary.html">org.apache.storm.streams.operations.mappers</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Interface and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/storm/streams/operations/mappers/TupleValueMapper.html" title="interface in org.apache.storm.streams.operations.mappers">TupleValueMapper</a>&lt;T&gt;</span></code>
<div class="block">A generic interface for mapping a <a href="../../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple"><code>Tuple</code></a> to typed values.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../../../org/apache/storm/streams/operations/mappers/package-summary.html">org.apache.storm.streams.operations.mappers</a> that implement <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</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/operations/mappers/PairValueMapper.html" title="class in org.apache.storm.streams.operations.mappers">PairValueMapper</a>&lt;K,V&gt;</span></code>
<div class="block">Extracts a typed key-value pair from a tuple.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/storm/streams/operations/mappers/ValueMapper.html" title="class in org.apache.storm.streams.operations.mappers">ValueMapper</a>&lt;T&gt;</span></code>
<div class="block">Extracts a single typed value from a tuple.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/storm/streams/operations/mappers/ValuesMapper.html" title="class in org.apache.storm.streams.operations.mappers">ValuesMapper</a></span></code>
<div class="block">Constructs a <a href="../../../../../../org/apache/storm/tuple/Values.html" title="class in org.apache.storm.tuple"><code>Values</code></a> from a <a href="../../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple"><code>Tuple</code></a> based on indicies.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.storm.streams.processors">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</a> in <a href="../../../../../../org/apache/storm/streams/processors/package-summary.html">org.apache.storm.streams.processors</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../../org/apache/storm/streams/processors/package-summary.html">org.apache.storm.streams.processors</a> with parameters of type <a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/storm/streams/processors/MapProcessor.html#MapProcessor-org.apache.storm.streams.operations.Function-">MapProcessor</a></span>(<a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</a>&lt;<a href="../../../../../../org/apache/storm/streams/processors/MapProcessor.html" title="type parameter in MapProcessor">T</a>,<a href="../../../../../../org/apache/storm/streams/processors/MapProcessor.html" title="type parameter in MapProcessor">R</a>&gt;&nbsp;function)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/storm/streams/processors/MapValuesProcessor.html#MapValuesProcessor-org.apache.storm.streams.operations.Function-">MapValuesProcessor</a></span>(<a href="../../../../../../org/apache/storm/streams/operations/Function.html" title="interface in org.apache.storm.streams.operations">Function</a>&lt;<a href="../../../../../../org/apache/storm/streams/processors/MapValuesProcessor.html" title="type parameter in MapValuesProcessor">V</a>,<a href="../../../../../../org/apache/storm/streams/processors/MapValuesProcessor.html" title="type parameter in MapValuesProcessor">R</a>&gt;&nbsp;function)</code>&nbsp;</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/operations/Function.html" title="interface in org.apache.storm.streams.operations">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/operations/class-use/Function.html" target="_top">Frames</a></li>
<li><a href="Function.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>