public interface FileNameFormat extends Serializable
Formatter interface for determining HDFS file names.
Modifier and Type | Method and Description |
---|---|
String |
getName(long rotation,
long timeStamp)
Returns the filename the HdfsBolt will create.
|
String |
getPath() |
void |
prepare(Map<String,Object> conf,
int partitionIndex,
int numPartitions) |
Copyright © 2020 The Apache Software Foundation. All rights reserved.