public abstract class FeedSimTupleInputStream extends FeedSimCSVInputStream
| Constructor and Description |
|---|
FeedSimTupleInputStream(String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close that cleans up the default read() state
|
abstract Schema |
getSchema()
This method must return the Schema of the data to be returned by readTuple()
|
int |
read()
Provide a default implementation for the required read() method
that uses the readTuple implemenation.
|
abstract Tuple |
readTuple()
This method is called by a FeedSim thread to get the next tuple to send.
|
getPathavailable, mark, markSupported, read, read, reset, skippublic FeedSimTupleInputStream(String path) throws IOException
IOExceptionpublic abstract Schema getSchema() throws StreamBaseException
StreamBaseExceptionpublic abstract Tuple readTuple() throws StreamBaseException
StreamBaseExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOException