public class NullPartitioner extends Object implements Partitioner
Constructor and Description |
---|
NullPartitioner() |
Modifier and Type | Method and Description |
---|---|
String |
getPartitionPath(Tuple tuple)
Return a relative path that the tuple should be written to.
|
public String getPartitionPath(Tuple tuple)
Partitioner
A best practice is to use Path.SEPARATOR instead of a literal "/"
getPartitionPath
in interface Partitioner
tuple
- The tuple for which the relative path is being calculated.Copyright © 2023 The Apache Software Foundation. All rights reserved.