public final class RecordStream
extends java.lang.Object
Constructor | 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 | Description |
---|---|---|
int |
getCountRead() |
|
Record |
getNext() |
|
boolean |
hasNext() |
|
java.lang.Class<? extends Record> |
peekNextClass() |
|
int |
peekNextSid() |
public RecordStream(java.util.List<Record> inputList, int startIndex, int endIx)
public 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 int peekNextSid()
public int getCountRead()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.