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
public static class HdfsState.SequenceFileOptions
- extends HdfsState.Options
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HdfsState.SequenceFileOptions
public HdfsState.SequenceFileOptions()
withCompressionCodec
public HdfsState.SequenceFileOptions withCompressionCodec(String codec)
withFsUrl
public HdfsState.SequenceFileOptions withFsUrl(String fsUrl)
withConfigKey
public HdfsState.SequenceFileOptions withConfigKey(String configKey)
withFileNameFormat
public HdfsState.SequenceFileOptions withFileNameFormat(FileNameFormat fileNameFormat)
withSequenceFormat
public HdfsState.SequenceFileOptions withSequenceFormat(SequenceFormat format)
withRotationPolicy
public HdfsState.SequenceFileOptions withRotationPolicy(FileRotationPolicy rotationPolicy)
withCompressionType
public HdfsState.SequenceFileOptions withCompressionType(org.apache.hadoop.io.SequenceFile.CompressionType compressionType)
addRotationAction
public HdfsState.SequenceFileOptions addRotationAction(RotationAction action)
execute
public void execute(List<TridentTuple> tuples)
throws IOException
- Throws:
IOException
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.