@InterfaceAudience.Public @InterfaceStability.Stable public abstract class JoinRecordReader<K extends org.apache.hadoop.io.WritableComparable> extends CompositeRecordReader<K,org.apache.hadoop.io.Writable,TupleWritable> implements ComposableRecordReader<K,TupleWritable>
| Modifier and Type | Class and Description |
|---|---|
protected class |
JoinRecordReader.JoinDelegationIterator
Since the JoinCollector is effecting our operation, we need only
provide an iterator proxy wrapping its operation.
|
jc, kids| Constructor and Description |
|---|
JoinRecordReader(int id,
JobConf conf,
int capacity,
Class<? extends org.apache.hadoop.io.WritableComparator> cmpcl) |
| Modifier and Type | Method and Description |
|---|---|
TupleWritable |
createValue()
Create an object of the appropriate type to be used as a value.
|
protected ResetableIterator<TupleWritable> |
getDelegate()
Return an iterator wrapping the JoinCollector.
|
boolean |
next(K key,
TupleWritable value)
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, createInternalValue, createKey, fillJoinCollector, getComparator, getConf, getPos, getProgress, getRecordReaderQueue, hasNext, id, key, key, setConf, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, hasNext, id, key, key, skipclose, createKey, getPos, getProgresscompareTopublic JoinRecordReader(int id,
JobConf conf,
int capacity,
Class<? extends org.apache.hadoop.io.WritableComparator> cmpcl)
throws IOException
IOExceptionpublic boolean next(K key, TupleWritable value) throws IOException
next in interface RecordReader<K extends org.apache.hadoop.io.WritableComparable,TupleWritable>key - the key to read data intovalue - the value to read data intoIOExceptionpublic TupleWritable createValue()
createValue in interface RecordReader<K extends org.apache.hadoop.io.WritableComparable,TupleWritable>protected ResetableIterator<TupleWritable> getDelegate()
getDelegate in class CompositeRecordReader<K extends org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.Writable,TupleWritable>Copyright © 2022 Apache Software Foundation. All rights reserved.