T1
- The generic type of the first input's data type.T2
- The generic type of the second input's data type.public interface CoGroupTaskIterator<T1,T2>
Modifier and Type | Method and Description |
---|---|
void |
close()
General-purpose close method.
|
Iterable<T1> |
getValues1()
Returns an iterable over the left input values for the current key.
|
Iterable<T2> |
getValues2()
Returns an iterable over the left input values for the current key.
|
boolean |
next()
Moves the internal pointer to the next key (if present).
|
void |
open()
General-purpose open method.
|
void open() throws IOException, MemoryAllocationException, InterruptedException
void close()
boolean next() throws IOException
The key is not necessarily shared by both inputs. In that case an empty iterator is returned by getValues1() or getValues2().
IOException
Iterable<T1> getValues1()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.