SparkseeNet  6.0.2
Public Member Functions | List of all members
com.sparsity.sparksee.io.RowWriter Class Reference

RowWriter interface. More...

Inheritance diagram for com.sparsity.sparksee.io.RowWriter:
Inheritance graph

Public Member Functions

void Write (com.sparsity.sparksee.gdb.StringList row) throws System.IO.IOException, System.ApplicationException
 Writes the next row.
 
void Close () throws System.IO.IOException, System.ApplicationException
 Closes the writer.
 

Detailed Description

RowWriter interface.

Common interface for those writers which dump the data from an string array.

It works as follows: perform as many write operations as necessary and call close once at the end. Once close is called no more write operations can be executed.

Check out the 'Data export' section in the SPARKSEE User Manual for more details on this.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Member Function Documentation

void com.sparsity.sparksee.io.RowWriter.Close ( ) throws System.IO.IOException, System.ApplicationException

Closes the writer.

Exceptions
System.IO.IOExceptionIf the close fails.
System.ApplicationExceptionnull
void com.sparsity.sparksee.io.RowWriter.Write ( com.sparsity.sparksee.gdb.StringList  row) throws System.IO.IOException, System.ApplicationException

Writes the next row.

Parameters
row[in] Row of data.
Exceptions
System.IO.IOExceptionIf bad things happen during the write.
System.ApplicationExceptionnull