- All Superinterfaces:
- All Known Implementing Classes:
public interface Partitioner extends Serializable
getPartitionPathReturn a relative path that the tuple should be written to. For example, if an HdfsBolt were configured to write to /common/output and a partitioner returned "/foo" then the bolt should open a file in "/common/output/foo"
A best practice is to use Path.SEPARATOR instead of a literal "/"
tuple- The tuple for which the relative path is being calculated.