| Constructor and Description |
|---|
TxnLogSource(String file) |
| Modifier and Type | Method and Description |
|---|---|
long |
getEndTime() |
LogSkipList |
getSkipList() |
long |
getStartTime() |
static boolean |
isTransactionFile(String file) |
LogIterator |
iterator() |
LogIterator |
iterator(long starttime,
long endtime) |
LogIterator |
iterator(long starttime,
long endtime,
FilterOp filter) |
static void |
main(String[] args) |
boolean |
overlapsRange(long starttime,
long endtime) |
long |
size() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic TxnLogSource(String file) throws IOException
IOExceptionpublic boolean overlapsRange(long starttime,
long endtime)
overlapsRange in interface LogSourcepublic long getStartTime()
getStartTime in interface LogSourcepublic long getEndTime()
getEndTime in interface LogSourcepublic LogSkipList getSkipList()
public static boolean isTransactionFile(String file) throws IOException
IOExceptionpublic LogIterator iterator(long starttime, long endtime) throws IllegalArgumentException
iterator in interface LogSourceIllegalArgumentExceptionpublic LogIterator iterator(long starttime, long endtime, FilterOp filter) throws IllegalArgumentException, FilterException
iterator in interface LogSourceIllegalArgumentExceptionFilterExceptionpublic LogIterator iterator() throws IllegalArgumentException
public static void main(String[] args) throws IOException, FilterException
IOExceptionFilterExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.