|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@InterfaceAudience.Private @InterfaceStability.Unstable public interface InputSplitInfo
Provides information about input splits.
The get*Path methods are only applicable when generating splits to disk. The getSplitsProto method is only applicable when generating splits to memory.
| Nested Class Summary | |
|---|---|
static class |
InputSplitInfo.Type
|
| Method Summary | |
|---|---|
org.apache.hadoop.security.Credentials |
getCredentials()
Get Credentials which may be required to access the splits. |
int |
getNumTasks()
Get the number of splits that were generated. |
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.VertexLocationHint.TaskLocationHint> |
getTaskLocationHints()
Get the TaskLocationHints for each task |
InputSplitInfo.Type |
getType()
Get the InputSplitInfo.Type of the InputSplitInfo |
| Method Detail |
|---|
List<org.apache.tez.dag.api.VertexLocationHint.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 InputSplitInfo
org.apache.hadoop.security.Credentials getCredentials()
Credentials which may be required to access the splits.
Credentials which may be required to access the splits.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||