Class DefaultFileNameFormat

java.lang.Object
org.apache.storm.hdfs.bolt.format.DefaultFileNameFormat
All Implemented Interfaces:
Serializable, FileNameFormat

public class DefaultFileNameFormat extends Object implements FileNameFormat
Creates file names with the following format:
     {prefix}{componentId}-{taskId}-{rotationNum}-{timestamp}{extension}
 
For example:
     MyBolt-5-7-1390579837830.txt
 

By default, prefix is empty and extenstion is ".txt".

See Also: