@InterfaceAudience.Public @InterfaceStability.Stable public abstract class JoinRecordReader<K extends WritableComparable<?>> extends CompositeRecordReader<K,Writable,TupleWritable>
Constructor and Description |
---|
JoinRecordReader(int id,
Configuration conf,
int capacity,
Class<? extends WritableComparator> cmpcl) |
Modifier and Type | Method and Description |
---|---|
TupleWritable |
createValue()
Create instance of value.
|
protected ResetableIterator<TupleWritable> |
getDelegate()
Return an iterator wrapping the JoinCollector.
|
boolean |
nextKeyValue()
Emit the next set of key, value pairs as defined by the child
RecordReaders and operation associated with this composite RR.
|
accept, add, close, combine, compareTo, createKey, createTupleWritable, fillJoinCollector, getComparator, getConf, getCurrentKey, getCurrentValue, getProgress, getRecordReaderQueue, hasNext, id, initialize, key, key, setConf, skip
public JoinRecordReader(int id, Configuration conf, int capacity, Class<? extends WritableComparator> cmpcl) throws IOException
IOException
public boolean nextKeyValue() throws IOException, InterruptedException
nextKeyValue
in class RecordReader<K extends WritableComparable<?>,TupleWritable>
IOException
InterruptedException
public TupleWritable createValue()
ComposableRecordReader
protected ResetableIterator<TupleWritable> getDelegate()
getDelegate
in class CompositeRecordReader<K extends WritableComparable<?>,Writable,TupleWritable>
Copyright © 2018 Apache Software Foundation. All rights reserved.