public interface AQDataWriter
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the stream.
|
void |
setColumnStructure(AQColumnStructure columnStructure)
Set column structure for subsequent
write(AQDataRow od) or writeColumnNames() operation
if write(AQDataReader d) or write(AQDataSet dataSet) is not used. |
void |
write(AQDataReader d)
Sequentially writes all data rows present in the specified input.
|
void |
write(AQDataRow od)
Writes a single data row to the output stream.
|
void |
write(AQDataSet dataSet)
Writes all data rows in the specified data set.
|
void |
write(java.lang.Object x)
Appends a single unformatted row which contains
Object.toString() representation
of the specified object. |
void |
writeColumnNames()
Writes column names.
|
void write(AQDataRow od) throws java.lang.Exception
od
- the data rowjava.lang.Exception
- On errorvoid write(AQDataReader d) throws java.lang.Exception
d
- the data readerjava.lang.Exception
- On errorvoid write(AQDataSet dataSet) throws java.lang.Exception
dataSet
- the data setjava.lang.Exception
- On errorvoid write(java.lang.Object x) throws java.lang.Exception
Object.toString()
representation
of the specified object.x
- the objectjava.lang.Exception
- On errorvoid writeColumnNames() throws java.lang.Exception
java.lang.Exception
- On errorvoid setColumnStructure(AQColumnStructure columnStructure)
write(AQDataRow od)
or writeColumnNames()
operation
if write(AQDataReader d)
or write(AQDataSet dataSet)
is not used.columnStructure
- the column structurevoid close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
java.io.IOException
- On error
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.