StreamState

class vertica_sdk.StreamState

State of stream processing.

UDX methods which process a vertica_sdk.InputBuffer return this state to Vertica to indicate how stream processing should proceed.

INPUT_NEEDED More input data is required to continue processing the stream.
OUTPUT_NEEDED More output space is needed to continue processing the stream.
DONE Stream processing has completed.
REJECT(rejected_record)

Data from the stream is invalid. rejected_record should be a vertica_sdk.RejectedRecord object.

KEEP_GOING Stream processing must block before consuming any more input or producing any more output.
CHUNK_ALIGNED A block boundary has been identified.