K - Key TypeV - Value Typepublic class HadoopInputFormat<K,V> extends HadoopInputFormatBase<K,V,Tuple2<K,V>> implements ResultTypeQueryable<Tuple2<K,V>>
fetched, hasNext, keyClass, recordReader, valueClasscredentials| Constructor and Description |
|---|
HadoopInputFormat(org.apache.hadoop.mapreduce.InputFormat<K,V> mapreduceInputFormat,
Class<K> key,
Class<V> value,
org.apache.hadoop.mapreduce.Job job) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.typeinfo.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, getConfiguration, getInputSplitAssigner, getStatistics, open, reachedEndgetCredentialsFromUGI, read, writepublic Tuple2<K,V> nextRecord(Tuple2<K,V> record) throws IOException
nextRecord in interface org.apache.flink.api.common.io.InputFormat<Tuple2<K,V>,HadoopInputSplit>IOExceptionpublic org.apache.flink.api.common.typeinfo.TypeInformation<Tuple2<K,V>> getProducedType()
ResultTypeQueryableTypeInformation) produced by this function or input format.getProducedType in interface ResultTypeQueryable<Tuple2<K,V>>Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.