public interface RecordIterator
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this iterator.
|
boolean |
hasNext()
Return a flag indicating whether there are more records.
|
Record |
nextRecord()
Return the next record.
|
boolean hasNext()
true
if there are more records;
false
otherwiseRecord nextRecord() throws NoSuchElementException, JournalException
NoSuchElementException
. If an error occurs,
throws a JournalException
.NoSuchElementException
- if there are no more recordsJournalException
- if another error occursvoid close()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.