Class MutableHashTable.HashBucketIterator<BT,PT>
- java.lang.Object
-
- org.apache.flink.runtime.operators.hash.MutableHashTable.HashBucketIterator<BT,PT>
-
- All Implemented Interfaces:
MutableObjectIterator<BT>
- Enclosing class:
- MutableHashTable<BT,PT>
public static class MutableHashTable.HashBucketIterator<BT,PT> extends Object implements MutableObjectIterator<BT>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BT
next()
Gets the next element from the collection.BT
next(BT reuse)
Gets the next element from the collection.void
reset()
void
writeBack(BT value)
-
-
-
Method Detail
-
next
public BT next(BT reuse)
Description copied from interface:MutableObjectIterator
Gets the next element from the collection. The contents of that next element is put into the given reuse object, if the type is mutable.- Specified by:
next
in interfaceMutableObjectIterator<BT>
- Parameters:
reuse
- The target object into which to place next element if E is mutable.- Returns:
- The filled object or
null
if the iterator is exhausted.
-
next
public BT next()
Description copied from interface:MutableObjectIterator
Gets the next element from the collection. The iterator implementation must obtain a new instance.- Specified by:
next
in interfaceMutableObjectIterator<BT>
- Returns:
- The object or
null
if the iterator is exhausted.
-
writeBack
public void writeBack(BT value) throws IOException
- Throws:
IOException
-
reset
public void reset()
-
-