Interface FileNameFormat
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultFileNameFormat,SimpleFileNameFormat
Formatter interface for determining HDFS file names.
-
Method Summary
-
Method Details
-
prepare
-
getName
Returns the filename the HdfsBolt will create.- Parameters:
rotation- the current file rotation number (incremented on every rotation)timeStamp- current time in milliseconds when the rotation occurs
-
getPath
String getPath()
-