protected class JoinRecordReader.JoinDelegationIterator extends Object implements ResetableIterator<TupleWritable>
ResetableIterator.EMPTY<U extends Writable>
限定符 | 构造器和说明 |
---|---|
protected |
JoinRecordReader.JoinDelegationIterator() |
限定符和类型 | 方法和说明 |
---|---|
void |
add(TupleWritable item)
Add an element to the collection of elements to iterate over.
|
void |
clear()
Close datasources, but do not release internal resources.
|
void |
close()
Close datasources and release resources.
|
boolean |
hasNext()
True if a call to next may return a value.
|
boolean |
next(TupleWritable val)
Assign next value to actual.
|
boolean |
replay(TupleWritable val)
Assign last value returned to actual.
|
void |
reset()
Set iterator to return to the start of its range.
|
public boolean hasNext()
ResetableIterator
hasNext
在接口中 ResetableIterator<TupleWritable>
public boolean next(TupleWritable val) throws IOException
ResetableIterator
ResetableIterator.reset()
(FIFO).
Note that a call to this may fail for nested joins (i.e. more elements
available, but none satisfying the constraints of the join)next
在接口中 ResetableIterator<TupleWritable>
IOException
public boolean replay(TupleWritable val) throws IOException
ResetableIterator
replay
在接口中 ResetableIterator<TupleWritable>
IOException
public void reset()
ResetableIterator
ResetableIterator.add(T)
to avoid a ConcurrentModificationException.reset
在接口中 ResetableIterator<TupleWritable>
public void add(TupleWritable item) throws IOException
ResetableIterator
add
在接口中 ResetableIterator<TupleWritable>
IOException
public void close() throws IOException
ResetableIterator
close
在接口中 ResetableIterator<TupleWritable>
IOException
public void clear()
ResetableIterator
clear
在接口中 ResetableIterator<TupleWritable>
Copyright © 2009 The Apache Software Foundation