T - Type of input split to create. Expected to be mapred.InputSplit or mapreduce.InputSplit.public interface StreamInputSplitFactory<T>
| Modifier and Type | Method and Description |
|---|---|
T |
createSplit(Path eventPath,
Path indexPath,
long startTime,
long endTime,
long start,
long length,
String[] locations)
Create a stream input split.
|
T createSplit(Path eventPath, Path indexPath, long startTime, long endTime, long start, long length, @Nullable String[] locations)
eventPath - path of the event file for the splitindexPath - path to the index file for the splitstartTime - start timestamp for the splitendTime - end timestamp for the splitstart - start position of the filelength - length of the filelocations - locationsCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.