StatementSetAggregateFunction Method (Assembly, String, String, String, Value)

Aerospike
Set Lua aggregation function parameters for a Lua package located in an assembly resource. 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(
	Assembly resourceAssembly,
	string resourcePath,
	string packageName,
	string functionName,
	params Value[] functionArgs
)

Parameters

resourceAssembly
Type: System.ReflectionAssembly
assembly where resource is located. Current assembly can be obtained by: Assembly.GetExecutingAssembly()"
resourcePath
Type: SystemString
namespace path where Lua resource is located. Example: Aerospike.Client.Resources.mypackage.lua
packageName
Type: SystemString
server package where user defined function resides
functionName
Type: SystemString
aggregation function name
functionArgs
Type: Aerospike.ClientValue
arguments to pass to function name, if any
See Also

Reference