public class HiveMapFunction extends HivePairFlatMapFunction<Iterator<scala.Tuple2<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>>,HiveKey,org.apache.hadoop.io.BytesWritable>
jobConf, sparkReporter
Constructor and Description |
---|
HiveMapFunction(byte[] jobConfBuffer,
SparkReporter sparkReporter) |
Modifier and Type | Method and Description |
---|---|
Iterable<scala.Tuple2<HiveKey,org.apache.hadoop.io.BytesWritable>> |
call(Iterator<scala.Tuple2<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>> it) |
protected boolean |
isMap() |
initJobConf
public HiveMapFunction(byte[] jobConfBuffer, SparkReporter sparkReporter)
public Iterable<scala.Tuple2<HiveKey,org.apache.hadoop.io.BytesWritable>> call(Iterator<scala.Tuple2<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>> it) throws Exception
Exception
protected boolean isMap()
isMap
in class HivePairFlatMapFunction<Iterator<scala.Tuple2<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>>,HiveKey,org.apache.hadoop.io.BytesWritable>
Copyright © 2017 The Apache Software Foundation. All rights reserved.