Statement SetAggregateFunction Method (String, String, String,  Value )Aerospike
Set Lua aggregation function parameters for a Lua package located in a string with lua code. This function will be called on both the server and client for each selected item.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.1.0.0 (4.1.0)
Syntax

Parameters

packageName
Type: System String
package name for package that contains aggregation function
packageContents
Type: System String
lua code associated with aggregation function.
functionName
Type: System String
aggregation function name
functionArgs
Type:  Aerospike.Client Value 
arguments to pass to function name, if any
See Also