T - Type of input split to find. Expected to be either mapred.InputSplit or mapreduce.InputSplit.public class StreamInputSplitFinder<T> extends Object
for details on stream file layout.| Modifier and Type | Class and Description |
|---|---|
static class |
StreamInputSplitFinder.Builder
Builder for creating a split finder.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamInputSplitFinder.Builder |
builder(URI path)
Get a builder for creating an input split finder for a stream.
|
List<T> |
getSplits(Configuration conf)
Get the input splits for a stream.
|
public List<T> getSplits(Configuration conf) throws IOException
conf - Configuration of the filesystem the stream resides on.IOExceptionpublic static StreamInputSplitFinder.Builder builder(URI path)
path - path of the streamCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.