Package org.apache.storm.hdfs.trident
Class HdfsState.Options
java.lang.Object
org.apache.storm.hdfs.trident.HdfsState.Options
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HdfsState.HdfsFileOptions
,HdfsState.SequenceFileOptions
- Enclosing class:
- HdfsState
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected FileNameFormat
protected org.apache.hadoop.fs.FileSystem
protected String
protected org.apache.hadoop.conf.Configuration
protected int
protected ArrayList<RotationAction>
protected FileRotationPolicy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
rotateOutputFile
(boolean doRotateAction)
-
Field Details
-
fsUrl
-
configKey
-
fs
protected transient org.apache.hadoop.fs.FileSystem fs -
rotationPolicy
-
fileNameFormat
-
rotation
protected int rotation -
hdfsConfig
protected transient org.apache.hadoop.conf.Configuration hdfsConfig -
rotationActions
-
-
Constructor Details
-
Options
public Options()
-
-
Method Details
-
rotateOutputFile
- Throws:
IOException
-
rotateOutputFile
- Throws:
IOException
-