public class ListRecordReader extends AbstractReader<Record> implements RecordReader
| Constructor and Description |
|---|
ListRecordReader(RecordDefinition recordDefinition,
Collection<? extends Record> objects) |
ListRecordReader(RecordDefinition recordDefinition,
Record... objects) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the reader and all resources associated with it.
|
RecordDefinition |
getRecordDefinition() |
Iterator<Record> |
iterator()
Return a new iterator for type T at the first item to read.
|
void |
open()
Open the reader so that it is ready to be read from.
|
read, visitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakpublic ListRecordReader(RecordDefinition recordDefinition, Collection<? extends Record> objects)
public ListRecordReader(RecordDefinition recordDefinition, Record... objects)
public void close()
Readerclose in interface Reader<Record>close in interface AutoCloseableclose in class AbstractObjectWithPropertiespublic RecordDefinition getRecordDefinition()
getRecordDefinition in interface RecordReaderpublic Iterator<Record> iterator()
ReaderCopyright © 2015 Revolution Systems Inc.. All rights reserved.