@InterfaceAudience.Private @InterfaceStability.Unstable public class EventReader extends Object implements Closeable
| Constructor and Description |
|---|
EventReader(DataInputStream in)
Create a new Event Reader
|
EventReader(FileSystem fs,
Path name)
Create a new Event Reader
|
public EventReader(FileSystem fs, Path name) throws IOException
fs - name - IOExceptionpublic EventReader(DataInputStream in) throws IOException
in - IOExceptionpublic HistoryEvent getNextEvent() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.