Configuring a Custom Result Processor

Data-aware procedures use a separate result processor to merge the procedure results from multiple GemFire XD members. You can use the default GemFire XD result processor, or implement and configure your own result processor implementation to customize the merge behavior.

Using the Procedure Provider API describes how to implement a custom result processor.

Note: When working with custom result processors, you may find it helpful to create an alias for the result processor class name. You can use the alias in place of the full result processor class name when you invoke a data-aware procedure. To create an alias use the SQL statement:
CREATE ALIAS processor_alias FOR 'processor_class_name'
where processor_class_name is the full name of a class that implements com.pivotal.gemfirexd.ProcedureResultProcessor and has a default constructor.