public interface AQDataReader
extends java.io.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 java.lang.Exception
java.lang.Exception
- on errorvoid close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
java.io.IOException
- if an I/O error occursAQDataSet read() throws java.lang.Exception
java.lang.Exception
- On Error.AQColumnStructure getColumnStructure()
Example: var r = aqua.io.newTextReader(); print(r.columnStructure); r.columnNames = ['a','b','c']; print(r.columnStructure);
Copyright © 2019 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.