sparksee.RowWriter Class Reference

RowWriter interface. More...

Inheritance diagram for sparksee.RowWriter:

Inheritance graph

List of all members.

Public Member Functions

def write
 Writes the next row.
def close
 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

def sparksee.RowWriter.write (   self,
  row 
)

Writes the next row.

Parameters:
row [in] Row of data.
Exceptions:
IOError If bad things happen during the write.
RuntimeError null

Reimplemented in sparksee.CSVWriter.

def sparksee.RowWriter.close (   self  ) 

Closes the writer.

Exceptions:
IOError If the close fails.
RuntimeError null

Reimplemented in sparksee.CSVWriter.


Generated on Fri Sep 12 13:39:49 2014 for SparkseePython by  doxygen 1.5.6