Package org.apache.storm.hdfs.common
Class SequenceFileWriter
java.lang.Object
org.apache.storm.hdfs.common.AbstractHDFSWriter
org.apache.storm.hdfs.common.SequenceFileWriter
- All Implemented Interfaces:
- Writer
- 
Field SummaryFields inherited from class org.apache.storm.hdfs.common.AbstractHDFSWriterfilePath, lastUsedTime, needsRotation, offset, rotationPolicy
- 
Constructor SummaryConstructorsConstructorDescriptionSequenceFileWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path, org.apache.hadoop.io.SequenceFile.Writer writer, SequenceFormat format) 
- 
Method SummaryMethods inherited from class org.apache.storm.hdfs.common.AbstractHDFSWriterclose, getFilePath, needsRotation, sync, write
- 
Constructor Details- 
SequenceFileWriterpublic SequenceFileWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path, org.apache.hadoop.io.SequenceFile.Writer writer, SequenceFormat 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
 
 
-