@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, skippublic JoinRecordReader(int id,
Configuration conf,
int capacity,
Class<? extends WritableComparator> cmpcl)
throws IOException
IOExceptionpublic boolean nextKeyValue()
throws IOException,
InterruptedException
nextKeyValue in class RecordReader<K extends WritableComparable<?>,TupleWritable>IOExceptionInterruptedExceptionpublic TupleWritable createValue()
ComposableRecordReaderprotected ResetableIterator<TupleWritable> getDelegate()
getDelegate in class CompositeRecordReader<K extends WritableComparable<?>,Writable,TupleWritable>Copyright © 2019 Apache Software Foundation. All rights reserved.