public class SQLReader extends FormatReader<SQLHeader>
| Constructor and Description |
|---|
SQLReader(java.lang.String dataBaseUrl,
java.lang.String table)
General constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getRowIndex()
Returns the row index at which the reader is.
|
java.lang.Object[] |
nextRecord(int skipThisNumberOfLines)
This method skips some lines and then reads a record in the file;
|
createFormatReader, getField, getFieldCount, getFilename, getHeader, getRecordCount, isSystemResource, nextRecord, openStream, setFormatHeaderpublic SQLReader(java.lang.String dataBaseUrl,
java.lang.String table)
throws java.io.IOException
dataBaseUrl - the database URLtable - the table to be readjava.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.Object[] nextRecord(int skipThisNumberOfLines)
throws java.io.IOException
FormatReadernextRecord in class FormatReader<SQLHeader>skipThisNumberOfLines - the number of lines to skip before reading the observationjava.io.IOExceptionpublic int getRowIndex()