Package org.apache.storm.hdfs.trident
Class HdfsState.SequenceFileOptions
java.lang.Object
org.apache.storm.hdfs.trident.HdfsState.Options
org.apache.storm.hdfs.trident.HdfsState.SequenceFileOptions
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- HdfsState
- See Also:
- 
Field SummaryFields inherited from class org.apache.storm.hdfs.trident.HdfsState.OptionsconfigKey, fileNameFormat, fs, fsUrl, hdfsConfig, rotation, rotationActions, rotationPolicy
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddRotationAction(RotationAction action) voidvoidexecute(List<TridentTuple> tuples) longwithCompressionCodec(String codec) withCompressionType(org.apache.hadoop.io.SequenceFile.CompressionType compressionType) withConfigKey(String configKey) withFileNameFormat(FileNameFormat fileNameFormat) withRotationPolicy(FileRotationPolicy rotationPolicy) withSequenceFormat(SequenceFormat format) Methods inherited from class org.apache.storm.hdfs.trident.HdfsState.OptionsrotateOutputFile, rotateOutputFile
- 
Constructor Details- 
SequenceFileOptionspublic SequenceFileOptions()
 
- 
- 
Method Details- 
withCompressionCodec
- 
withFsUrl
- 
withConfigKey
- 
withFileNameFormat
- 
withSequenceFormat
- 
withRotationPolicy
- 
withCompressionTypepublic HdfsState.SequenceFileOptions withCompressionType(org.apache.hadoop.io.SequenceFile.CompressionType compressionType) 
- 
addRotationAction
- 
getCurrentOffset- Throws:
- IOException
 
- 
doCommit- Throws:
- IOException
 
- 
execute- Throws:
- IOException
 
 
-