BT
- public class HashPartitionIterator<BT,PT> extends Object implements MutableObjectIterator<BT>
Iterator
over the build side entries of a HashPartition
.Constructor and Description |
---|
HashPartitionIterator(Iterator<HashPartition<BT,PT>> partitions,
TypeSerializer<BT> serializer) |
Modifier and Type | Method and Description |
---|---|
BT |
next()
Gets the next element from the collection.
|
BT |
next(BT reuse)
Gets the next element from the collection.
|
public HashPartitionIterator(Iterator<HashPartition<BT,PT>> partitions, TypeSerializer<BT> serializer)
public BT next(BT reuse) throws IOException
MutableObjectIterator
next
in interface MutableObjectIterator<BT>
reuse
- The target object into which to place next element if E is mutable.null
if the iterator is exhausted.IOException
- Thrown, if a problem occurred in the underlying I/O layer or in the
serialization / deserialization logicpublic BT next() throws IOException
MutableObjectIterator
next
in interface MutableObjectIterator<BT>
null
if the iterator is exhausted.IOException
- Thrown, if a problem occurred in the underlying I/O layer or in the
serialization / deserialization logicCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.