org.apache.storm.hdfs.trident
Class HdfsState.HdfsFileOptions
java.lang.Object
org.apache.storm.hdfs.trident.HdfsState.Options
org.apache.storm.hdfs.trident.HdfsState.HdfsFileOptions
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- HdfsState
public static class HdfsState.HdfsFileOptions
- 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 |
format
protected RecordFormat format
HdfsState.HdfsFileOptions
public HdfsState.HdfsFileOptions()
withFsUrl
public HdfsState.HdfsFileOptions withFsUrl(String fsUrl)
withConfigKey
public HdfsState.HdfsFileOptions withConfigKey(String configKey)
withFileNameFormat
public HdfsState.HdfsFileOptions withFileNameFormat(FileNameFormat fileNameFormat)
withRecordFormat
public HdfsState.HdfsFileOptions withRecordFormat(RecordFormat format)
withRotationPolicy
public HdfsState.HdfsFileOptions withRotationPolicy(FileRotationPolicy rotationPolicy)
addRotationAction
public HdfsState.HdfsFileOptions addRotationAction(RotationAction action)
execute
public void execute(List<TridentTuple> tuples)
throws IOException
- Throws:
IOException
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.