public final class UnionRecordReader<T extends IOReadableWritable> extends AbstractUnionRecordReader<T> implements Reader<T>
| Constructor and Description |
|---|
UnionRecordReader(MutableRecordReader<T>[] recordReaders,
Class<T> recordType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
getNextRecord, isInputClosed, publishEvent, reportRecordAvailabilityhandleEvent, hasReachedEndOfSuperstep, incrementEndOfSuperstepEventAndCheck, setIterative, startNextSuperstep, subscribeToEvent, unsubscribeFromEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasReachedEndOfSuperstep, isInputClosed, publishEvent, setIterative, startNextSuperstep, subscribeToEvent, unsubscribeFromEventpublic UnionRecordReader(MutableRecordReader<T>[] recordReaders, Class<T> recordType)
public boolean hasNext()
throws IOException,
InterruptedException
hasNext in interface Reader<T extends IOReadableWritable>IOExceptionInterruptedExceptionpublic T next() throws IOException, InterruptedException
next in interface Reader<T extends IOReadableWritable>IOExceptionInterruptedExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.