@InterfaceAudience.Private @InterfaceStability.Evolving public interface EventReader extends Closeable
AvroCLIClient to
ingest into Flume. The stream may be finite or infinite.Event readEvent() throws IOException
null, the input underlying input source is considered finished.
Note that this is allowed to block for indefinite amounts of time waiting
to generate a new line.IOExceptionList<Event> readEvents(int n) throws IOException
n lines associated with the input stream. If this returns
less than n lines, the input underlying input source is considered
finished. Note that this is allowed to block for indefinite amounts of
time waiting to generate a new line.IOExceptionvoid close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOExceptionCopyright © 2009-2014 Apache Software Foundation. All Rights Reserved.