MultiPhaseTransformFunctionFactory

class vertica_sdk.MultiPhaseTransformFunctionFactory

Interface for declaring parameters and return types for a multi-phase function; as well as declaring and instantiating its associated vertica_sdk.TransformFunction phases.

classmethod getPhases(cls, server_interface)

Called when Vertica needs a new TransformFunctionPhase pipeline to process a multi-phase UDTF function call.

Vertica invokes the phases in order; collectively they behave like a TransformFunction. More than one object may be instantiated per query.

Note: This function can be called several times per query.

getPrototype

Report, via the vertica_sdk.ColumnTypes argument return_types, the return types of this UDX.

Returns None.

getReturnType

Report, via the vertica_sdk.SizedColumnTypes argument return_types, the concrete return types of this UDX.

Returns None.

classmethod getUDXFactoryType(cls)

Returns vertica_sdk.UDXType.MULTI_TRANSFORM.