T
- Type that extends Writable that will be iteratedpublic abstract class ByteStructIterator<T extends org.apache.hadoop.io.Writable> extends Object implements Iterator<T>
Modifier and Type | Field and Description |
---|---|
protected ExtendedDataInput |
extendedDataInput
Data input
|
Constructor and Description |
---|
ByteStructIterator(ExtendedDataInput extendedDataInput)
Wrap ExtendedDataInput in ByteArrayIterator
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
createWritable()
Must be able to create the writable object
|
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected final ExtendedDataInput extendedDataInput
public ByteStructIterator(ExtendedDataInput extendedDataInput)
extendedDataInput
- ExtendedDataInputCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.