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, setFormatHeader
public SQLReader(java.lang.String dataBaseUrl, java.lang.String table) throws java.io.IOException
dataBaseUrl
- the database URLtable
- the table to be readjava.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public java.lang.Object[] nextRecord(int skipThisNumberOfLines) throws java.io.IOException
FormatReader
nextRecord
in class FormatReader<SQLHeader>
skipThisNumberOfLines
- the number of lines to skip before reading the observationjava.io.IOException
public int getRowIndex()