org.apache.oozie.util
Class SimpleTimestampedMessageParser
java.lang.Object
org.apache.oozie.util.TimestampedMessageParser
org.apache.oozie.util.SimpleTimestampedMessageParser
public class SimpleTimestampedMessageParser
- extends TimestampedMessageParser
A simplified version of TimestampedMessageParser which doesn't do any filtering when reading the lines from the Reader.
This is useful when processing a Reader where the lines have already been filtered, so we can be more efficient by not
doing the same filtering again.
|
Method Summary |
protected String |
parseNextLine()
This implementation simply returns the next line from the Reader. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleTimestampedMessageParser
public SimpleTimestampedMessageParser(BufferedReader reader,
XLogFilter filter)
parseNextLine
protected String parseNextLine()
throws IOException
- This implementation simply returns the next line from the Reader.
- Overrides:
parseNextLine in class TimestampedMessageParser
- Returns:
- The next line from the Reader
- Throws:
IOException
Copyright © 2015 Apache Software Foundation. All Rights Reserved.