public class HadoopInputFormat<K,V> extends HadoopInputFormatBase<K,V,Tuple2<K,V>> implements ResultTypeQueryable<Tuple2<K,V>>
fetched, hasNext, key, keyClass, value, valueClass| Constructor and Description |
|---|
HadoopInputFormat(org.apache.hadoop.mapred.InputFormat<K,V> mapredInputFormat,
Class<K> key,
Class<V> value,
org.apache.hadoop.mapred.JobConf job) |
| Modifier and Type | Method and Description |
|---|---|
TypeInformation<Tuple2<K,V>> |
getProducedType()
Gets the data type (as a
TypeInformation) produced by this function or input format. |
Tuple2<K,V> |
nextRecord(Tuple2<K,V> record) |
close, configure, createInputSplits, fetchNext, getInputSplitAssigner, getJobConf, getStatistics, open, reachedEndpublic Tuple2<K,V> nextRecord(Tuple2<K,V> record) throws IOException
nextRecord in interface InputFormat<Tuple2<K,V>,HadoopInputSplit>IOExceptionpublic TypeInformation<Tuple2<K,V>> getProducedType()
ResultTypeQueryableTypeInformation) produced by this function or input format.getProducedType in interface ResultTypeQueryable<Tuple2<K,V>>Copyright © 2015 The Apache Software Foundation. All rights reserved.