blob: 12835949562820ae192b8670a4a541633406b00c [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>AvroGenericRecordBolt (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="AvroGenericRecordBolt (Storm 2.4.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</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 class="navBarCell1Rev">Class</li>
<li><a href="class-use/AvroGenericRecordBolt.html">Use</a></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/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" target="_top">Frames</a></li>
<li><a href="AvroGenericRecordBolt.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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.apache.storm.hdfs.bolt.AbstractHdfsBolt">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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.storm.hdfs.bolt</div>
<h2 title="Class AvroGenericRecordBolt" class="title">Class AvroGenericRecordBolt</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/storm/topology/base/BaseComponent.html" title="class in org.apache.storm.topology.base">org.apache.storm.topology.base.BaseComponent</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/storm/topology/base/BaseRichBolt.html" title="class in org.apache.storm.topology.base">org.apache.storm.topology.base.BaseRichBolt</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">org.apache.storm.hdfs.bolt.AbstractHdfsBolt</a></li>
<li>
<ul class="inheritance">
<li>org.apache.storm.hdfs.bolt.AvroGenericRecordBolt</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="../../../../../org/apache/storm/task/IBolt.html" title="interface in org.apache.storm.task">IBolt</a>, <a href="../../../../../org/apache/storm/topology/IComponent.html" title="interface in org.apache.storm.topology">IComponent</a>, <a href="../../../../../org/apache/storm/topology/IRichBolt.html" title="interface in org.apache.storm.topology">IRichBolt</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">AvroGenericRecordBolt</span>
extends <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">AbstractHdfsBolt</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../serialized-form.html#org.apache.storm.hdfs.bolt.AvroGenericRecordBolt">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.storm.hdfs.bolt.AbstractHdfsBolt">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.storm.hdfs.bolt.<a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">AbstractHdfsBolt</a></h3>
<code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#collector">collector</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#configKey">configKey</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#fileNameFormat">fileNameFormat</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#fileRetryCount">fileRetryCount</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#fs">fs</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#fsUrl">fsUrl</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#hdfsConfig">hdfsConfig</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#maxOpenFiles">maxOpenFiles</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#offset">offset</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#partitioner">partitioner</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#rotationActions">rotationActions</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#rotationCounterMap">rotationCounterMap</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#rotationPolicy">rotationPolicy</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#rotationTimer">rotationTimer</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#syncPolicy">syncPolicy</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#tickTupleInterval">tickTupleInterval</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#writeLock">writeLock</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#writers">writers</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#AvroGenericRecordBolt--">AvroGenericRecordBolt</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#addRotationAction-org.apache.storm.hdfs.common.rotation.RotationAction-">addRotationAction</a></span>(<a href="../../../../../org/apache/storm/hdfs/common/rotation/RotationAction.html" title="interface in org.apache.storm.hdfs.common.rotation">RotationAction</a>&nbsp;action)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#doPrepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">doPrepare</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;conf,
<a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a>&nbsp;topologyContext,
<a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a>&nbsp;collector)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#getWriterKey-org.apache.storm.tuple.Tuple-">getWriterKey</a></span>(<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a>&nbsp;tuple)</code>
<div class="block">AvroGenericRecordBolt must override this method because messages with different schemas cannot be written to the same file.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/storm/hdfs/common/AbstractHDFSWriter.html" title="class in org.apache.storm.hdfs.common">AbstractHDFSWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#makeNewWriter-org.apache.hadoop.fs.Path-org.apache.storm.tuple.Tuple-">makeNewWriter</a></span>(org.apache.hadoop.fs.Path&nbsp;path,
<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a>&nbsp;tuple)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#withConfigKey-java.lang.String-">withConfigKey</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;configKey)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#withFileNameFormat-org.apache.storm.hdfs.bolt.format.FileNameFormat-">withFileNameFormat</a></span>(<a href="../../../../../org/apache/storm/hdfs/bolt/format/FileNameFormat.html" title="interface in org.apache.storm.hdfs.bolt.format">FileNameFormat</a>&nbsp;fileNameFormat)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#withFsUrl-java.lang.String-">withFsUrl</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fsUrl)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#withMaxOpenFiles-int-">withMaxOpenFiles</a></span>(int&nbsp;maxOpenFiles)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#withPartitioner-org.apache.storm.hdfs.common.Partitioner-">withPartitioner</a></span>(<a href="../../../../../org/apache/storm/hdfs/common/Partitioner.html" title="interface in org.apache.storm.hdfs.common">Partitioner</a>&nbsp;partitioner)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#withRotationPolicy-org.apache.storm.hdfs.bolt.rotation.FileRotationPolicy-">withRotationPolicy</a></span>(<a href="../../../../../org/apache/storm/hdfs/bolt/rotation/FileRotationPolicy.html" title="interface in org.apache.storm.hdfs.bolt.rotation">FileRotationPolicy</a>&nbsp;rotationPolicy)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#withSyncPolicy-org.apache.storm.hdfs.bolt.sync.SyncPolicy-">withSyncPolicy</a></span>(<a href="../../../../../org/apache/storm/hdfs/bolt/sync/SyncPolicy.html" title="interface in org.apache.storm.hdfs.bolt.sync">SyncPolicy</a>&nbsp;syncPolicy)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#withTickTupleIntervalSeconds-int-">withTickTupleIntervalSeconds</a></span>(int&nbsp;interval)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.hdfs.bolt.AbstractHdfsBolt">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.storm.hdfs.bolt.<a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">AbstractHdfsBolt</a></h3>
<code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#cleanup--">cleanup</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#declareOutputFields-org.apache.storm.topology.OutputFieldsDeclarer-">declareOutputFields</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#execute-org.apache.storm.tuple.Tuple-">execute</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#getBasePathForNextFile-org.apache.storm.tuple.Tuple-">getBasePathForNextFile</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#getComponentConfiguration--">getComponentConfiguration</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">prepare</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#rotateOutputFile-org.apache.storm.hdfs.bolt.Writer-">rotateOutputFile</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AvroGenericRecordBolt--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AvroGenericRecordBolt</h4>
<pre>public&nbsp;AvroGenericRecordBolt()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="withFsUrl-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withFsUrl</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a>&nbsp;withFsUrl(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fsUrl)</pre>
</li>
</ul>
<a name="withConfigKey-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withConfigKey</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a>&nbsp;withConfigKey(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;configKey)</pre>
</li>
</ul>
<a name="withFileNameFormat-org.apache.storm.hdfs.bolt.format.FileNameFormat-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withFileNameFormat</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a>&nbsp;withFileNameFormat(<a href="../../../../../org/apache/storm/hdfs/bolt/format/FileNameFormat.html" title="interface in org.apache.storm.hdfs.bolt.format">FileNameFormat</a>&nbsp;fileNameFormat)</pre>
</li>
</ul>
<a name="withSyncPolicy-org.apache.storm.hdfs.bolt.sync.SyncPolicy-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withSyncPolicy</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a>&nbsp;withSyncPolicy(<a href="../../../../../org/apache/storm/hdfs/bolt/sync/SyncPolicy.html" title="interface in org.apache.storm.hdfs.bolt.sync">SyncPolicy</a>&nbsp;syncPolicy)</pre>
</li>
</ul>
<a name="withRotationPolicy-org.apache.storm.hdfs.bolt.rotation.FileRotationPolicy-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withRotationPolicy</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a>&nbsp;withRotationPolicy(<a href="../../../../../org/apache/storm/hdfs/bolt/rotation/FileRotationPolicy.html" title="interface in org.apache.storm.hdfs.bolt.rotation">FileRotationPolicy</a>&nbsp;rotationPolicy)</pre>
</li>
</ul>
<a name="addRotationAction-org.apache.storm.hdfs.common.rotation.RotationAction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addRotationAction</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a>&nbsp;addRotationAction(<a href="../../../../../org/apache/storm/hdfs/common/rotation/RotationAction.html" title="interface in org.apache.storm.hdfs.common.rotation">RotationAction</a>&nbsp;action)</pre>
</li>
</ul>
<a name="withTickTupleIntervalSeconds-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withTickTupleIntervalSeconds</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a>&nbsp;withTickTupleIntervalSeconds(int&nbsp;interval)</pre>
</li>
</ul>
<a name="withMaxOpenFiles-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withMaxOpenFiles</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a>&nbsp;withMaxOpenFiles(int&nbsp;maxOpenFiles)</pre>
</li>
</ul>
<a name="withPartitioner-org.apache.storm.hdfs.common.Partitioner-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withPartitioner</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a>&nbsp;withPartitioner(<a href="../../../../../org/apache/storm/hdfs/common/Partitioner.html" title="interface in org.apache.storm.hdfs.common">Partitioner</a>&nbsp;partitioner)</pre>
</li>
</ul>
<a name="doPrepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doPrepare</h4>
<pre>protected&nbsp;void&nbsp;doPrepare(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;conf,
<a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a>&nbsp;topologyContext,
<a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a>&nbsp;collector)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#doPrepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">doPrepare</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">AbstractHdfsBolt</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="getWriterKey-org.apache.storm.tuple.Tuple-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWriterKey</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getWriterKey(<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a>&nbsp;tuple)</pre>
<div class="block"><p>AvroGenericRecordBolt must override this method because messages with different schemas cannot be written to the same file. By treating the complete schema as the &ldquo;key&rdquo; AbstractHdfsBolt will associate a different writer for every distinct schema.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#getWriterKey-org.apache.storm.tuple.Tuple-">getWriterKey</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">AbstractHdfsBolt</a></code></dd>
</dl>
</li>
</ul>
<a name="makeNewWriter-org.apache.hadoop.fs.Path-org.apache.storm.tuple.Tuple-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>makeNewWriter</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/storm/hdfs/common/AbstractHDFSWriter.html" title="class in org.apache.storm.hdfs.common">AbstractHDFSWriter</a>&nbsp;makeNewWriter(org.apache.hadoop.fs.Path&nbsp;path,
<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a>&nbsp;tuple)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#makeNewWriter-org.apache.hadoop.fs.Path-org.apache.storm.tuple.Tuple-">makeNewWriter</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">AbstractHdfsBolt</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></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>
<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 class="navBarCell1Rev">Class</li>
<li><a href="class-use/AvroGenericRecordBolt.html">Use</a></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><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" target="_top">Frames</a></li>
<li><a href="AvroGenericRecordBolt.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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.apache.storm.hdfs.bolt.AbstractHdfsBolt">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</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>