public interface Splitter
Split
s based on a
Path
representing a hdfs resource.java.util.List<Split> getSplits(org.apache.hadoop.fs.Path path) throws java.io.IOException
Path
. A path needs to
be a resource which can be split into a list of splits. Actual
implementation will define if split is enforced to be a single
file or a collection of files.path
- the pathjava.io.IOException
- Signals that an I/O exception has occurred.