|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapred.join.CompositeRecordReader<K,V,V>
org.apache.hadoop.mapred.join.MultiFilterRecordReader<K,V>
MultiFilterRecordReader
instead
@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public abstract class MultiFilterRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
Base class for Composite join returning values derived from multiple sources, but generally not tuples.
Nested Class Summary | |
---|---|
protected class |
MultiFilterRecordReader.MultiFilterDelegationIterator
Deprecated. Proxy the JoinCollector, but include callback to emit. |
Field Summary |
---|
Fields inherited from class org.apache.hadoop.mapred.join.CompositeRecordReader |
---|
jc, kids |
Constructor Summary | |
---|---|
MultiFilterRecordReader(int id,
JobConf conf,
int capacity,
Class<? extends org.apache.hadoop.io.WritableComparator> cmpcl)
Deprecated. |
Method Summary | |
---|---|
protected boolean |
combine(Object[] srcs,
TupleWritable dst)
Deprecated. Default implementation offers emit(org.apache.hadoop.mapred.join.TupleWritable) every Tuple from the
collector (the outer join of child RRs). |
V |
createValue()
Deprecated. Create an object of the appropriate type to be used as a value. |
protected abstract V |
emit(TupleWritable dst)
Deprecated. For each tuple emitted, return a value (typically one of the values in the tuple). |
protected ResetableIterator<V> |
getDelegate()
Deprecated. Return an iterator returning a single value from the tuple. |
boolean |
next(K key,
V value)
Deprecated. Reads the next key/value pair from the input for processing. |
Methods inherited from class org.apache.hadoop.mapred.join.CompositeRecordReader |
---|
accept, add, close, compareTo, createInternalValue, createKey, fillJoinCollector, getComparator, getConf, getPos, getProgress, getRecordReaderQueue, hasNext, id, key, key, setConf, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.mapred.join.ComposableRecordReader |
---|
accept, hasNext, id, key, key, skip |
Methods inherited from interface org.apache.hadoop.mapred.RecordReader |
---|
close, createKey, getPos, getProgress |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public MultiFilterRecordReader(int id, JobConf conf, int capacity, Class<? extends org.apache.hadoop.io.WritableComparator> cmpcl) throws IOException
IOException
Method Detail |
---|
protected abstract V emit(TupleWritable dst) throws IOException
IOException
protected boolean combine(Object[] srcs, TupleWritable dst)
emit(org.apache.hadoop.mapred.join.TupleWritable)
every Tuple from the
collector (the outer join of child RRs).
combine
in class CompositeRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,V extends org.apache.hadoop.io.Writable>
public boolean next(K key, V value) throws IOException
next
in interface RecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
key
- the key to read data intovalue
- the value to read data into
IOException
public V createValue()
createValue
in interface RecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
protected ResetableIterator<V> getDelegate()
getDelegate
in class CompositeRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,V extends org.apache.hadoop.io.Writable>
MultiFilterRecordReader.MultiFilterDelegationIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |