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, wait
forEach, spliterator
public TxnLogSource(String file) throws IOException
IOException
public boolean overlapsRange(long starttime, long endtime)
overlapsRange
in interface LogSource
public long getStartTime()
getStartTime
in interface LogSource
public long getEndTime()
getEndTime
in interface LogSource
public LogSkipList getSkipList()
public static boolean isTransactionFile(String file) throws IOException
IOException
public LogIterator iterator(long starttime, long endtime) throws IllegalArgumentException
iterator
in interface LogSource
IllegalArgumentException
public LogIterator iterator(long starttime, long endtime, FilterOp filter) throws IllegalArgumentException, FilterException
iterator
in interface LogSource
IllegalArgumentException
FilterException
public LogIterator iterator() throws IllegalArgumentException
public static void main(String[] args) throws IOException, FilterException
IOException
FilterException
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.