StatementSetAggregateFunction 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: 5.1.1.0 (5.1.1)
Syntax

C#
public void SetAggregateFunction(
	string packageName,
	string packageContents,
	string functionName,
	params Value[] functionArgs
)

Parameters

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

Reference