Constructor and Description |
---|
MergedLogSource(String[] files) |
Modifier and Type | Method and Description |
---|---|
void |
addSource(String f) |
long |
getEndTime() |
long |
getStartTime() |
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 MergedLogSource(String[] files) 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 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 void addSource(String f) throws IOException
IOException
public static void main(String[] args) throws IOException
IOException
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.