CREATE ALIAS

Creates an alias for a user-defined procedure result processor.

Syntax

CREATE ALIAS processor_alias FOR 'processor_class'

Description

Data-aware procedures can optionally use a custom result processor to merge the procedure results that are produced on multiple SQLFire members. If you do not invoke a procedure using a custom result processor, SQLFire uses the Default Result Processor.

See Using the Custom Result Processor API for information about implementing a custom result processor.

processor_alias

The processor_alias is a user-defined alias for the result processor implementation. Use this alias when you call a data-aware procedure to use the processor for mergin results. See CALL.

processor_class

The Java class of the result processor implementation.

Example

CREATE ALIAS mergesort FOR 'MergeSortProcessor'