|Developing Applications with GemFire XD / Using Data-Aware Stored Procedures|
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.
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.