public class HiveReduceFunctionResultList<V> extends HiveBaseFunctionResultList<scala.Tuple2<HiveKey,V>>
| Constructor and Description |
|---|
HiveReduceFunctionResultList(Iterator<scala.Tuple2<HiveKey,V>> inputIterator,
SparkReduceRecordHandler reducer)
Instantiate result set Iterable for Reduce function output.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeRecordProcessor()
Close the record processor.
|
protected boolean |
processingDone() |
protected void |
processNextRecord(scala.Tuple2<HiveKey,V> inputRecord)
Process the given record.
|
collect, hasNext, next, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic HiveReduceFunctionResultList(Iterator<scala.Tuple2<HiveKey,V>> inputIterator, SparkReduceRecordHandler reducer)
inputIterator - Input record iterator.reducer - Initialized ExecReducer instance.protected void processNextRecord(scala.Tuple2<HiveKey,V> inputRecord) throws IOException
HiveBaseFunctionResultListprocessNextRecord in class HiveBaseFunctionResultList<scala.Tuple2<HiveKey,V>>IOExceptionprotected boolean processingDone()
processingDone in class HiveBaseFunctionResultList<scala.Tuple2<HiveKey,V>>protected void closeRecordProcessor()
HiveBaseFunctionResultListcloseRecordProcessor in class HiveBaseFunctionResultList<scala.Tuple2<HiveKey,V>>Copyright © 2019 The Apache Software Foundation. All Rights Reserved.