@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface InputSplitInfo
Modifier and Type | Interface and Description |
---|---|
static class |
InputSplitInfo.Type |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.security.Credentials |
getCredentials()
Get
Credentials which may be required to access the splits. |
org.apache.hadoop.mapreduce.InputSplit[] |
getNewFormatSplits()
Get new format splits.
|
int |
getNumTasks()
Get the number of splits that were generated.
|
org.apache.hadoop.mapred.InputSplit[] |
getOldFormatSplits()
Get old format splits.
|
org.apache.hadoop.fs.Path |
getSplitsFile()
Get the path to the splits file
|
org.apache.hadoop.fs.Path |
getSplitsMetaInfoFile()
Get the path to the splits meta info file
|
MRRuntimeProtos.MRSplitsProto |
getSplitsProto()
Get the splits proto
|
List<org.apache.tez.dag.api.TaskLocationHint> |
getTaskLocationHints()
Get the TaskLocationHints for each task
|
InputSplitInfo.Type |
getType()
Get the
InputSplitInfo.Type of the InputSplitInfo |
boolean |
holdsNewFormatSplits()
Check whether the current instance is using old / new format splits
|
List<org.apache.tez.dag.api.TaskLocationHint> getTaskLocationHints()
org.apache.hadoop.fs.Path getSplitsMetaInfoFile()
org.apache.hadoop.fs.Path getSplitsFile()
MRRuntimeProtos.MRSplitsProto getSplitsProto()
int getNumTasks()
InputSplitInfo.Type getType()
InputSplitInfo.Type
of the InputSplitInfoorg.apache.hadoop.security.Credentials getCredentials()
Credentials
which may be required to access the splits.Credentials
which may be required to access the splits.boolean holdsNewFormatSplits()
org.apache.hadoop.mapreduce.InputSplit[] getNewFormatSplits()
org.apache.hadoop.mapred.InputSplit[] getOldFormatSplits()
Copyright © 2016 Apache Software Foundation. All rights reserved.