T
- Type that extends Writable that will be iteratedpublic abstract class ByteStructIterable<T extends org.apache.hadoop.io.Writable> extends Object implements Iterable<T>
Modifier and Type | Field and Description |
---|---|
protected Factory<? extends ExtendedDataInput> |
dataInputFactory
Factory for data input
|
Constructor and Description |
---|
ByteStructIterable(Factory<? extends ExtendedDataInput> dataInputFactory)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
createWritable()
Must be able to create the writable object
|
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected final Factory<? extends ExtendedDataInput> dataInputFactory
public ByteStructIterable(Factory<? extends ExtendedDataInput> dataInputFactory)
dataInputFactory
- Factory for data inputsCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.