SparkseePython  6.0.2
Public Member Functions | List of all members
sparksee.RowWriter Class Reference

RowWriter interface. More...

Inheritance diagram for sparksee.RowWriter:
Inheritance graph

Public Member Functions

def close (self)
 Closes the writer. More...
 
def write (self, row)
 Writes the next row. More...
 

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.close (   self)

Closes the writer.

Exceptions
RuntimeErrornull
IOErrorIf the close fails.
def sparksee.RowWriter.write (   self,
  row 
)

Writes the next row.

Parameters
row[in] Row of data.
Exceptions
RuntimeErrornull
IOErrorIf bad things happen during the write.