Package org.apache.storm.hdfs.common
Class HDFSWriter
java.lang.Object
org.apache.storm.hdfs.common.AbstractHDFSWriter
org.apache.storm.hdfs.common.HDFSWriter
- All Implemented Interfaces:
- Writer
- 
Field SummaryFields inherited from class org.apache.storm.hdfs.common.AbstractHDFSWriterfilePath, lastUsedTime, needsRotation, offset, rotationPolicy
- 
Constructor SummaryConstructorsConstructorDescriptionHDFSWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FSDataOutputStream out, RecordFormat format) 
- 
Method SummaryMethods inherited from class org.apache.storm.hdfs.common.AbstractHDFSWriterclose, getFilePath, needsRotation, sync, write
- 
Constructor Details- 
HDFSWriterpublic HDFSWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FSDataOutputStream out, RecordFormat format) 
 
- 
- 
Method Details- 
doWrite- Specified by:
- doWritein class- AbstractHDFSWriter
- Throws:
- IOException
 
- 
doSync- Specified by:
- doSyncin class- AbstractHDFSWriter
- Throws:
- IOException
 
- 
doClose- Specified by:
- doClosein class- AbstractHDFSWriter
- Throws:
- IOException
 
 
-