StatementSetAggregateFunction(String, String, String, Value) Method

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.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public void SetAggregateFunction(
	string packageName,
	string packageContents,
	string functionName,
	params Value[] functionArgs
)

Parameters

packageName  String
package name for package that contains aggregation function
packageContents  String
lua code associated with aggregation function.
functionName  String
aggregation function name
functionArgs  Value
arguments to pass to function name, if any

See Also