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