UDFilter

class vertica_sdk.UDFilter

Transforms a stream of raw input data.

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 data to output (a vertica_sdk.OutputBuffer object).

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

setup

Performs any per-stream initialization.

Returns None.