public class LocalCompleteCSVInputPartitioner extends CompleteCSVInputPartitioner<java.lang.String>
config, filePath, numSplits, READ_WHOLE_SPLIT_FLAG, stream| Constructor and Description |
|---|
LocalCompleteCSVInputPartitioner(Path filePath,
int numTasks,
Config config) |
LocalCompleteCSVInputPartitioner(Path filePath,
int numTasks,
int datasize,
Config config) |
| Modifier and Type | Method and Description |
|---|---|
protected CSVInputSplit |
createSplit(int num,
Path file,
long start,
long length,
java.lang.String[] hosts) |
InputSplitAssigner |
getInputSplitAssigner(FileInputSplit[] inputSplits)
Return the input split asigner
|
configure, createInputSplitspublic LocalCompleteCSVInputPartitioner(Path filePath, int numTasks, Config config)
protected CSVInputSplit createSplit(int num, Path file, long start, long length, java.lang.String[] hosts)
createSplit in class CompleteCSVInputPartitioner<java.lang.String>public InputSplitAssigner getInputSplitAssigner(FileInputSplit[] inputSplits)
InputPartitionerinputSplits - the input splits to be assigned