@InterfaceAudience.Private @InterfaceStability.Unstable public class EventReader extends Object implements Closeable
| Constructor and Description |
|---|
EventReader(DataInputStream in)
Create a new Event Reader
|
EventReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path name)
Create a new Event Reader
|
public EventReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.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 © 2022 Apache Software Foundation. All rights reserved.