public interface AQDataReader extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Use this method to release critical resources (e.g.
|
AQColumnStructure |
getColumnStructure()
To get the reader column structure.
|
AQDataSet |
read()
Sequentially reads the input stream into an in-memory data set.
|
AQDataRow |
readNextRow()
Returns a next data row or null if no more rows is available, or end of file is reached.
|
AQDataRow readNextRow() throws Exception
Exception
- on errorvoid close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
IOException
- if an I/O error occursAQDataSet read() throws Exception
Exception
- On Error.AQColumnStructure getColumnStructure()
Example: var r = aqua.io.newTextReader(); print(r.columnStructure); r.columnNames = ['a','b','c']; print(r.columnStructure);
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.