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

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.

Definition

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

Parameters

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

See Also