UDParser

class vertica_sdk.UDParser

Transforms a stream of raw input data into tuples.

destroy

Performs any per-stream deinitialization.

Session parameters can be persisted using udSessionParams, a vertica_sdk.SessionParamWriterMap object.

Returns None.

process

Read data from input (a vertica_sdk.InputBuffer object) and write tuples to stream_writer (a vertica_sdk.StreamWriter object).

Returns a vertica_sdk.StreamState to indicate the state of stream processing.

setup

Performs any per-stream initialization.

Returns None.