public abstract class HiveBaseFunctionResultList<T> extends Object implements Iterable, org.apache.hadoop.mapred.OutputCollector<HiveKey,org.apache.hadoop.io.BytesWritable>, Serializable
Modifier and Type | Class and Description |
---|---|
class |
HiveBaseFunctionResultList.ResultIterator
Implement Iterator interface.
|
Constructor and Description |
---|
HiveBaseFunctionResultList(Iterator<T> inputIterator) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
closeRecordProcessor()
Close the record processor.
|
void |
collect(HiveKey key,
org.apache.hadoop.io.BytesWritable value) |
Iterator |
iterator() |
protected abstract boolean |
processingDone() |
protected abstract void |
processNextRecord(T inputRecord)
Process the given record.
|
public void collect(HiveKey key, org.apache.hadoop.io.BytesWritable value) throws IOException
collect
in interface org.apache.hadoop.mapred.OutputCollector<HiveKey,org.apache.hadoop.io.BytesWritable>
IOException
protected abstract void processNextRecord(T inputRecord) throws IOException
IOException
protected abstract boolean processingDone()
protected abstract void closeRecordProcessor()
Copyright © 2017 The Apache Software Foundation. All rights reserved.