public static interface TxnLog.TxnIterator
| Modifier and Type | Method and Description |
|---|---|
void |
close()
close files and release the
resources
|
TxnHeader |
getHeader()
return the transaction header.
|
long |
getStorageSize()
Get an estimated storage space used to store transaction records
that will return by this iterator
|
Record |
getTxn()
return the transaction record.
|
boolean |
next()
go to the next transaction record.
|
TxnHeader getHeader()
Record getTxn()
boolean next()
throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionlong getStorageSize()
throws IOException
IOExceptionCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.