Class HadoopInputSplit
- java.lang.Object
-
- org.apache.flink.core.io.LocatableInputSplit
-
- org.apache.flink.api.java.hadoop.mapred.wrapper.HadoopInputSplit
-
- All Implemented Interfaces:
Serializable
,InputSplit
@Internal public class HadoopInputSplit extends LocatableInputSplit
A wrapper that represents an input split from the Hadoop mapred API as a FlinkInputSplit
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HadoopInputSplit(int splitNumber, org.apache.hadoop.mapred.InputSplit hInputSplit, org.apache.hadoop.mapred.JobConf jobconf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.mapred.InputSplit
getHadoopInputSplit()
String[]
getHostnames()
Returns the names of the hosts storing the data this input split refers toorg.apache.hadoop.mapred.JobConf
getJobConf()
-
Methods inherited from class org.apache.flink.core.io.LocatableInputSplit
equals, getSplitNumber, hashCode, toString
-
-
-
-
Method Detail
-
getHostnames
public String[] getHostnames()
Description copied from class:LocatableInputSplit
Returns the names of the hosts storing the data this input split refers to- Overrides:
getHostnames
in classLocatableInputSplit
- Returns:
- the names of the hosts storing the data this input split refers to
-
getHadoopInputSplit
public org.apache.hadoop.mapred.InputSplit getHadoopInputSplit()
-
getJobConf
public org.apache.hadoop.mapred.JobConf getJobConf()
-
-