public class RecordIterator extends Object implements Iterator<GenericRecord>
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
asc |
protected List<GenericRecord> |
curr |
protected int |
currIndex |
protected long |
currPageNumber |
protected long |
endPageNumber |
protected Index |
indexPage |
protected boolean |
initialized |
| 构造器和说明 |
|---|
RecordIterator() |
RecordIterator(List<GenericRecord> curr) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
doHasNext() |
boolean |
hasNext() |
void |
init()
Initialization includes:
1.
|
GenericRecord |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removeprotected boolean initialized
protected List<GenericRecord> curr
protected int currIndex
protected long currPageNumber
protected long endPageNumber
protected Index indexPage
protected boolean asc
public RecordIterator()
public RecordIterator(List<GenericRecord> curr)
public void init()
currpublic boolean hasNext()
hasNext 在接口中 Iterator<GenericRecord>public boolean doHasNext()
public GenericRecord next()
next 在接口中 Iterator<GenericRecord>Copyright © 2019–2020 Alibaba Group Holding Limited. All rights reserved.