Modified: storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html URL: http://svn.apache.org/viewvc/storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html?rev=1738824&r1=1738823&r2=1738824&view=diff ============================================================================== --- storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html (original) +++ storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html Tue Apr 12 16:07:25 2016 @@ -18,7 +18,7 @@ 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,"i12":10}; +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"; @@ -151,7 +151,7 @@ extends <a href="../../../../../org/apac <!-- --> </a> <h3>Fields inherited from class 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#offset">offset</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#rotation">rotation</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#rotationActions">rotationActions</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></code></li> +<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> @@ -190,43 +190,44 @@ extends <a href="../../../../../org/apac </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#closeOutputFile--">closeOutputFile</a></span>()</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="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> conf, + <a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a> topologyContext, + <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a> collector)</code> </td> </tr> <tr id="i2" class="altColor"> -<td class="colFirst"><code>protected org.apache.hadoop.fs.Path</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#createOutputFile--">createOutputFile</a></span>()</code> </td> +<td class="colFirst"><code>protected <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></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> 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 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="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> conf, - <a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a> topologyContext, - <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a> collector)</code> </td> +<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 path, + <a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple)</code> </td> </tr> <tr id="i4" class="altColor"> -<td class="colFirst"><code>protected void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#syncTuples--">syncTuples</a></span>()</code> -<div class="block">Make the best effort to sync written data to the underlying file system.</div> -</td> +<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> configKey)</code> </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#withConfigKey-java.lang.String-">withConfigKey</a></span>(<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> configKey)</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> fileNameFormat)</code> </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#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> fileNameFormat)</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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fsUrl)</code> </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#withFsUrl-java.lang.String-">withFsUrl</a></span>(<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> fsUrl)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#withMaxOpenFiles-int-">withMaxOpenFiles</a></span>(int maxOpenFiles)</code> </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#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> rotationPolicy)</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> partitioner)</code> </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#withSchemaAsString-java.lang.String-">withSchemaAsString</a></span>(<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> schemaAsString)</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> rotationPolicy)</code> </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> @@ -236,19 +237,13 @@ extends <a href="../../../../../org/apac <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 interval)</code> </td> </tr> -<tr id="i12" class="altColor"> -<td class="colFirst"><code>protected void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html#writeTuple-org.apache.storm.tuple.Tuple-">writeTuple</a></span>(<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple)</code> -<div class="block">writes a tuple to the underlying filesystem but makes no guarantees about syncing data.</div> -</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 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#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#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--">rotateOutputFile</a></code></li> +<code><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.common.AbstractHDFSWriter-">rotateOutputFile</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.topology.base.BaseRichBolt"> @@ -295,15 +290,6 @@ extends <a href="../../../../../org/apac <!-- --> </a> <h3>Method Detail</h3> -<a name="withSchemaAsString-java.lang.String-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>withSchemaAsString</h4> -<pre>public <a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a> withSchemaAsString(<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> schemaAsString)</pre> -</li> -</ul> <a name="withFsUrl-java.lang.String-"> <!-- --> </a> @@ -367,87 +353,68 @@ extends <a href="../../../../../org/apac <pre>public <a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a> withTickTupleIntervalSeconds(int interval)</pre> </li> </ul> -<a name="doPrepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-"> +<a name="withMaxOpenFiles-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>doPrepare</h4> -<pre>protected void doPrepare(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> conf, - <a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a> topologyContext, - <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a> collector) - throws <a href="http://docs.oracle.com/javase/7/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> in class <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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> -</dl> +<h4>withMaxOpenFiles</h4> +<pre>public <a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a> withMaxOpenFiles(int maxOpenFiles)</pre> </li> </ul> -<a name="writeTuple-org.apache.storm.tuple.Tuple-"> +<a name="withPartitioner-org.apache.storm.hdfs.common.Partitioner-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>writeTuple</h4> -<pre>protected void writeTuple(<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple) - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> -<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#writeTuple-org.apache.storm.tuple.Tuple-">AbstractHdfsBolt</a></code></span></div> -<div class="block"><p>writes a tuple to the underlying filesystem but makes no guarantees about syncing data.</p><p>this.offset is also updated to reflect additional data written</p></div> -<dl> -<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> -<dd><code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#writeTuple-org.apache.storm.tuple.Tuple-">writeTuple</a></code> in class <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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> -</dl> +<h4>withPartitioner</h4> +<pre>public <a href="../../../../../org/apache/storm/hdfs/bolt/AvroGenericRecordBolt.html" title="class in org.apache.storm.hdfs.bolt">AvroGenericRecordBolt</a> withPartitioner(<a href="../../../../../org/apache/storm/hdfs/common/Partitioner.html" title="interface in org.apache.storm.hdfs.common">Partitioner</a> partitioner)</pre> </li> </ul> -<a name="syncTuples--"> +<a name="doPrepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>syncTuples</h4> -<pre>protected void syncTuples() - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> -<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#syncTuples--">AbstractHdfsBolt</a></code></span></div> -<div class="block"><p>Make the best effort to sync written data to the underlying file system. Concrete classes should very clearly state the file state that sync guarantees. For example, HdfsBolt can make a much stronger guarantee than SequenceFileBolt.</p></div> +<h4>doPrepare</h4> +<pre>protected void doPrepare(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> conf, + <a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a> topologyContext, + <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a> collector) + throws <a href="http://docs.oracle.com/javase/7/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#syncTuples--">syncTuples</a></code> in class <code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">AbstractHdfsBolt</a></code></dd> +<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> in class <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="http://docs.oracle.com/javase/7/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="closeOutputFile--"> +<a name="getWriterKey-org.apache.storm.tuple.Tuple-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>closeOutputFile</h4> -<pre>protected void closeOutputFile() - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<h4>getWriterKey</h4> +<pre>protected <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> getWriterKey(<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> 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 “key” 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#closeOutputFile--">closeOutputFile</a></code> in class <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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +<dd><code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#getWriterKey-org.apache.storm.tuple.Tuple-">getWriterKey</a></code> in class <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="createOutputFile--"> +<a name="makeNewWriter-org.apache.hadoop.fs.Path-org.apache.storm.tuple.Tuple-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> -<h4>createOutputFile</h4> -<pre>protected org.apache.hadoop.fs.Path createOutputFile() - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<h4>makeNewWriter</h4> +<pre>protected <a href="../../../../../org/apache/storm/hdfs/common/AbstractHDFSWriter.html" title="class in org.apache.storm.hdfs.common">AbstractHDFSWriter</a> makeNewWriter(org.apache.hadoop.fs.Path path, + <a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple) + throws <a href="http://docs.oracle.com/javase/7/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#createOutputFile--">createOutputFile</a></code> in class <code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">AbstractHdfsBolt</a></code></dd> +<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> in class <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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> </dl>
Modified: storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/hdfs/bolt/HdfsBolt.html URL: http://svn.apache.org/viewvc/storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/hdfs/bolt/HdfsBolt.html?rev=1738824&r1=1738823&r2=1738824&view=diff ============================================================================== --- storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/hdfs/bolt/HdfsBolt.html (original) +++ storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/hdfs/bolt/HdfsBolt.html Tue Apr 12 16:07:25 2016 @@ -151,7 +151,7 @@ extends <a href="../../../../../org/apac <!-- --> </a> <h3>Fields inherited from class 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#offset">offset</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#rotation">rotation</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#rotationActions">rotationActions</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></code></li> +<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> @@ -189,62 +189,59 @@ extends <a href="../../../../../org/apac <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.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> action)</code> </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/HdfsBolt.html#closeOutputFile--">closeOutputFile</a></span>()</code> </td> -</tr> -<tr id="i2" class="altColor"> -<td class="colFirst"><code>protected org.apache.hadoop.fs.Path</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#createOutputFile--">createOutputFile</a></span>()</code> </td> -</tr> -<tr id="i3" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#doPrepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">doPrepare</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> conf, <a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a> topologyContext, <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a> collector)</code> </td> </tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>protected <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></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.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> tuple)</code> </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/HdfsBolt.html#makeNewWriter-org.apache.hadoop.fs.Path-org.apache.storm.tuple.Tuple-">makeNewWriter</a></span>(org.apache.hadoop.fs.Path path, + <a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple)</code> </td> +</tr> <tr id="i4" class="altColor"> -<td class="colFirst"><code>protected void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#syncTuples--">syncTuples</a></span>()</code> -<div class="block">Make the best effort to sync written data to the underlying file system.</div> -</td> +<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#withConfigKey-java.lang.String-">withConfigKey</a></span>(<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> configKey)</code> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#withConfigKey-java.lang.String-">withConfigKey</a></span>(<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> configKey)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.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> fileNameFormat)</code> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.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> fileNameFormat)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#withFsUrl-java.lang.String-">withFsUrl</a></span>(<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> fsUrl)</code> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#withFsUrl-java.lang.String-">withFsUrl</a></span>(<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> fsUrl)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#withMaxOpenFiles-int-">withMaxOpenFiles</a></span>(int maxOpenFiles)</code> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#withRecordFormat-org.apache.storm.hdfs.bolt.format.RecordFormat-">withRecordFormat</a></span>(<a href="../../../../../org/apache/storm/hdfs/bolt/format/RecordFormat.html" title="interface in org.apache.storm.hdfs.bolt.format">RecordFormat</a> format)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.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> partitioner)</code> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#withRetryCount-int-">withRetryCount</a></span>(int fileRetryCount)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#withRecordFormat-org.apache.storm.hdfs.bolt.format.RecordFormat-">withRecordFormat</a></span>(<a href="../../../../../org/apache/storm/hdfs/bolt/format/RecordFormat.html" title="interface in org.apache.storm.hdfs.bolt.format">RecordFormat</a> format)</code> </td> </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.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> rotationPolicy)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#withRetryCount-int-">withRetryCount</a></span>(int fileRetryCount)</code> </td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.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> syncPolicy)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.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> rotationPolicy)</code> </td> </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#withTickTupleIntervalSeconds-int-">withTickTupleIntervalSeconds</a></span>(int interval)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.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> syncPolicy)</code> </td> </tr> <tr id="i13" class="rowColor"> -<td class="colFirst"><code>protected void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#writeTuple-org.apache.storm.tuple.Tuple-">writeTuple</a></span>(<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple)</code> -<div class="block">writes a tuple to the underlying filesystem but makes no guarantees about syncing data.</div> -</td> +<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html#withTickTupleIntervalSeconds-int-">withTickTupleIntervalSeconds</a></span>(int interval)</code> </td> </tr> </table> <ul class="blockList"> @@ -252,7 +249,7 @@ extends <a href="../../../../../org/apac <!-- --> </a> <h3>Methods inherited from class 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#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#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--">rotateOutputFile</a></code></li> +<code><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.common.AbstractHDFSWriter-">rotateOutputFile</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.topology.base.BaseRichBolt"> @@ -380,87 +377,67 @@ extends <a href="../../../../../org/apac <pre>public <a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a> withRetryCount(int fileRetryCount)</pre> </li> </ul> -<a name="doPrepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-"> +<a name="withPartitioner-org.apache.storm.hdfs.common.Partitioner-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>doPrepare</h4> -<pre>public void doPrepare(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> conf, - <a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a> topologyContext, - <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a> collector) - throws <a href="http://docs.oracle.com/javase/7/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> in class <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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> -</dl> +<h4>withPartitioner</h4> +<pre>public <a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a> withPartitioner(<a href="../../../../../org/apache/storm/hdfs/common/Partitioner.html" title="interface in org.apache.storm.hdfs.common">Partitioner</a> partitioner)</pre> </li> </ul> -<a name="syncTuples--"> +<a name="withMaxOpenFiles-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>syncTuples</h4> -<pre>protected void syncTuples() - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> -<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#syncTuples--">AbstractHdfsBolt</a></code></span></div> -<div class="block"><p>Make the best effort to sync written data to the underlying file system. Concrete classes should very clearly state the file state that sync guarantees. For example, HdfsBolt can make a much stronger guarantee than SequenceFileBolt.</p></div> -<dl> -<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> -<dd><code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#syncTuples--">syncTuples</a></code> in class <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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> -</dl> +<h4>withMaxOpenFiles</h4> +<pre>public <a href="../../../../../org/apache/storm/hdfs/bolt/HdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">HdfsBolt</a> withMaxOpenFiles(int maxOpenFiles)</pre> </li> </ul> -<a name="writeTuple-org.apache.storm.tuple.Tuple-"> +<a name="doPrepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>writeTuple</h4> -<pre>protected void writeTuple(<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple) - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> -<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#writeTuple-org.apache.storm.tuple.Tuple-">AbstractHdfsBolt</a></code></span></div> -<div class="block"><p>writes a tuple to the underlying filesystem but makes no guarantees about syncing data.</p><p>this.offset is also updated to reflect additional data written</p></div> +<h4>doPrepare</h4> +<pre>public void doPrepare(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> conf, + <a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a> topologyContext, + <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a> collector) + throws <a href="http://docs.oracle.com/javase/7/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#writeTuple-org.apache.storm.tuple.Tuple-">writeTuple</a></code> in class <code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">AbstractHdfsBolt</a></code></dd> +<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> in class <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="http://docs.oracle.com/javase/7/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="closeOutputFile--"> +<a name="getWriterKey-org.apache.storm.tuple.Tuple-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>closeOutputFile</h4> -<pre>protected void closeOutputFile() - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<h4>getWriterKey</h4> +<pre>protected <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> getWriterKey(<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple)</pre> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> -<dd><code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#closeOutputFile--">closeOutputFile</a></code> in class <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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +<dd><code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#getWriterKey-org.apache.storm.tuple.Tuple-">getWriterKey</a></code> in class <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="createOutputFile--"> +<a name="makeNewWriter-org.apache.hadoop.fs.Path-org.apache.storm.tuple.Tuple-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> -<h4>createOutputFile</h4> -<pre>protected org.apache.hadoop.fs.Path createOutputFile() - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<h4>makeNewWriter</h4> +<pre>protected <a href="../../../../../org/apache/storm/hdfs/common/AbstractHDFSWriter.html" title="class in org.apache.storm.hdfs.common">AbstractHDFSWriter</a> makeNewWriter(org.apache.hadoop.fs.Path path, + <a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple) + throws <a href="http://docs.oracle.com/javase/7/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#createOutputFile--">createOutputFile</a></code> in class <code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">AbstractHdfsBolt</a></code></dd> +<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> in class <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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> </dl> Modified: storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/hdfs/bolt/SequenceFileBolt.html URL: http://svn.apache.org/viewvc/storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/hdfs/bolt/SequenceFileBolt.html?rev=1738824&r1=1738823&r2=1738824&view=diff ============================================================================== --- storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/hdfs/bolt/SequenceFileBolt.html (original) +++ storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/hdfs/bolt/SequenceFileBolt.html Tue Apr 12 16:07:25 2016 @@ -151,7 +151,7 @@ extends <a href="../../../../../org/apac <!-- --> </a> <h3>Fields inherited from class 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#offset">offset</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#rotation">rotation</a>, <a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#rotationActions">rotationActions</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></code></li> +<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> @@ -189,70 +189,67 @@ extends <a href="../../../../../org/apac <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.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> action)</code> </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/SequenceFileBolt.html#closeOutputFile--">closeOutputFile</a></span>()</code> </td> -</tr> -<tr id="i2" class="altColor"> -<td class="colFirst"><code>protected org.apache.hadoop.fs.Path</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#createOutputFile--">createOutputFile</a></span>()</code> </td> -</tr> -<tr id="i3" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#doPrepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">doPrepare</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> conf, <a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a> topologyContext, <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a> collector)</code> </td> </tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>protected <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></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.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> tuple)</code> </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/SequenceFileBolt.html#makeNewWriter-org.apache.hadoop.fs.Path-org.apache.storm.tuple.Tuple-">makeNewWriter</a></span>(org.apache.hadoop.fs.Path path, + <a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple)</code> </td> +</tr> <tr id="i4" class="altColor"> -<td class="colFirst"><code>protected void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#syncTuples--">syncTuples</a></span>()</code> -<div class="block">Make the best effort to sync written data to the underlying file system.</div> -</td> +<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withCompressionCodec-java.lang.String-">withCompressionCodec</a></span>(<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> codec)</code> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withCompressionCodec-java.lang.String-">withCompressionCodec</a></span>(<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> codec)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withCompressionType-org.apache.hadoop.io.SequenceFile.CompressionType-">withCompressionType</a></span>(org.apache.hadoop.io.SequenceFile.CompressionType compressionType)</code> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withCompressionType-org.apache.hadoop.io.SequenceFile.CompressionType-">withCompressionType</a></span>(org.apache.hadoop.io.SequenceFile.CompressionType compressionType)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withConfigKey-java.lang.String-">withConfigKey</a></span>(<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> configKey)</code> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withConfigKey-java.lang.String-">withConfigKey</a></span>(<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> configKey)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.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> fileNameFormat)</code> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.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> fileNameFormat)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withFsUrl-java.lang.String-">withFsUrl</a></span>(<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> fsUrl)</code> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withFsUrl-java.lang.String-">withFsUrl</a></span>(<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> fsUrl)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withMaxOpenFiles-int-">withMaxOpenFiles</a></span>(int maxOpenFiles)</code> </td> </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withRetryCount-int-">withRetryCount</a></span>(int fileRetryCount)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.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> partitioner)</code> </td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.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> rotationPolicy)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withRetryCount-int-">withRetryCount</a></span>(int fileRetryCount)</code> </td> </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withSequenceFormat-org.apache.storm.hdfs.bolt.format.SequenceFormat-">withSequenceFormat</a></span>(<a href="../../../../../org/apache/storm/hdfs/bolt/format/SequenceFormat.html" title="interface in org.apache.storm.hdfs.bolt.format">SequenceFormat</a> format)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.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> rotationPolicy)</code> </td> </tr> <tr id="i13" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.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> syncPolicy)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withSequenceFormat-org.apache.storm.hdfs.bolt.format.SequenceFormat-">withSequenceFormat</a></span>(<a href="../../../../../org/apache/storm/hdfs/bolt/format/SequenceFormat.html" title="interface in org.apache.storm.hdfs.bolt.format">SequenceFormat</a> format)</code> </td> </tr> <tr id="i14" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withTickTupleIntervalSeconds-int-">withTickTupleIntervalSeconds</a></span>(int interval)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.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> syncPolicy)</code> </td> </tr> <tr id="i15" class="rowColor"> -<td class="colFirst"><code>protected void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#writeTuple-org.apache.storm.tuple.Tuple-">writeTuple</a></span>(<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple)</code> -<div class="block">writes a tuple to the underlying filesystem but makes no guarantees about syncing data.</div> -</td> +<td class="colFirst"><code><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html#withTickTupleIntervalSeconds-int-">withTickTupleIntervalSeconds</a></span>(int interval)</code> </td> </tr> </table> <ul class="blockList"> @@ -260,7 +257,7 @@ extends <a href="../../../../../org/apac <!-- --> </a> <h3>Methods inherited from class 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#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#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--">rotateOutputFile</a></code></li> +<code><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.common.AbstractHDFSWriter-">rotateOutputFile</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.topology.base.BaseRichBolt"> @@ -406,87 +403,67 @@ extends <a href="../../../../../org/apac <pre>public <a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a> withRetryCount(int fileRetryCount)</pre> </li> </ul> -<a name="doPrepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-"> +<a name="withPartitioner-org.apache.storm.hdfs.common.Partitioner-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>doPrepare</h4> -<pre>public void doPrepare(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> conf, - <a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a> topologyContext, - <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a> collector) - throws <a href="http://docs.oracle.com/javase/7/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> in class <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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> -</dl> +<h4>withPartitioner</h4> +<pre>public <a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a> withPartitioner(<a href="../../../../../org/apache/storm/hdfs/common/Partitioner.html" title="interface in org.apache.storm.hdfs.common">Partitioner</a> partitioner)</pre> </li> </ul> -<a name="syncTuples--"> +<a name="withMaxOpenFiles-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>syncTuples</h4> -<pre>protected void syncTuples() - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> -<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#syncTuples--">AbstractHdfsBolt</a></code></span></div> -<div class="block"><p>Make the best effort to sync written data to the underlying file system. Concrete classes should very clearly state the file state that sync guarantees. For example, HdfsBolt can make a much stronger guarantee than SequenceFileBolt.</p></div> -<dl> -<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> -<dd><code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#syncTuples--">syncTuples</a></code> in class <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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> -</dl> +<h4>withMaxOpenFiles</h4> +<pre>public <a href="../../../../../org/apache/storm/hdfs/bolt/SequenceFileBolt.html" title="class in org.apache.storm.hdfs.bolt">SequenceFileBolt</a> withMaxOpenFiles(int maxOpenFiles)</pre> </li> </ul> -<a name="writeTuple-org.apache.storm.tuple.Tuple-"> +<a name="doPrepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>writeTuple</h4> -<pre>protected void writeTuple(<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple) - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> -<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#writeTuple-org.apache.storm.tuple.Tuple-">AbstractHdfsBolt</a></code></span></div> -<div class="block"><p>writes a tuple to the underlying filesystem but makes no guarantees about syncing data.</p><p>this.offset is also updated to reflect additional data written</p></div> +<h4>doPrepare</h4> +<pre>public void doPrepare(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> conf, + <a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a> topologyContext, + <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a> collector) + throws <a href="http://docs.oracle.com/javase/7/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#writeTuple-org.apache.storm.tuple.Tuple-">writeTuple</a></code> in class <code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">AbstractHdfsBolt</a></code></dd> +<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> in class <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="http://docs.oracle.com/javase/7/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="createOutputFile--"> +<a name="getWriterKey-org.apache.storm.tuple.Tuple-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>createOutputFile</h4> -<pre>protected org.apache.hadoop.fs.Path createOutputFile() - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<h4>getWriterKey</h4> +<pre>protected <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> getWriterKey(<a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple)</pre> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> -<dd><code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#createOutputFile--">createOutputFile</a></code> in class <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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +<dd><code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html#getWriterKey-org.apache.storm.tuple.Tuple-">getWriterKey</a></code> in class <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="closeOutputFile--"> +<a name="makeNewWriter-org.apache.hadoop.fs.Path-org.apache.storm.tuple.Tuple-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> -<h4>closeOutputFile</h4> -<pre>protected void closeOutputFile() - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<h4>makeNewWriter</h4> +<pre>protected <a href="../../../../../org/apache/storm/hdfs/common/AbstractHDFSWriter.html" title="class in org.apache.storm.hdfs.common">AbstractHDFSWriter</a> makeNewWriter(org.apache.hadoop.fs.Path path, + <a href="../../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a> tuple) + throws <a href="http://docs.oracle.com/javase/7/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#closeOutputFile--">closeOutputFile</a></code> in class <code><a href="../../../../../org/apache/storm/hdfs/bolt/AbstractHdfsBolt.html" title="class in org.apache.storm.hdfs.bolt">AbstractHdfsBolt</a></code></dd> +<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> in class <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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> </dl>
