public final class RecordStream
extends java.lang.Object
Record objects.| Constructor and Description |
|---|
RecordStream(java.util.List<Record> records,
int startIx) |
RecordStream(java.util.List<Record> inputList,
int startIndex,
int endIx)
Creates a RecordStream bounded by startIndex and endIndex
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCountRead() |
Record |
getNext() |
boolean |
hasNext() |
java.lang.Class<? extends Record> |
peekNextClass() |
Record |
peekNextRecord() |
int |
peekNextSid() |
public RecordStream(java.util.List<Record> inputList, int startIndex, int endIx)
inputList - the list to iterate overstartIndex - the start index within the listendIx - the end index within the list, which is the index of the end element + 1public RecordStream(java.util.List<Record> records, int startIx)
public boolean hasNext()
public Record getNext()
public java.lang.Class<? extends Record> peekNextClass()
Class of the next Record. null if this stream is exhausted.public Record peekNextRecord()
null if this stream is exhausted.public int peekNextSid()
public int getCountRead()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.