SparkseePython
6.0.2
|
Public Member Functions | |
def | close (self) |
Closes the writer. More... | |
def | write (self, row) |
Writes the next row. More... | |
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.
def sparksee.RowWriter.close | ( | self | ) |
Closes the writer.
RuntimeError | null |
IOError | If the close fails. |
def sparksee.RowWriter.write | ( | self, | |
row | |||
) |
Writes the next row.
row | [in] Row of data. |
RuntimeError | null |
IOError | If bad things happen during the write. |