AerospikeClientExecute Method (BatchPolicy, BatchUDFPolicy, Key, String, String, Value)

Aerospike
Execute user defined function on server for each key and return results. The package name is used to locate the udf file location:

udf file = <server udf dir>/<package name>.lua

Requires server version 6.0+

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public BatchResults Execute(
	BatchPolicy batchPolicy,
	BatchUDFPolicy udfPolicy,
	Key[] keys,
	string packageName,
	string functionName,
	params Value[] functionArgs
)

Parameters

batchPolicy
Type: Aerospike.ClientBatchPolicy
batch configuration parameters, pass in null for defaults
udfPolicy
Type: Aerospike.ClientBatchUDFPolicy
udf configuration parameters, pass in null for defaults
keys
Type: Aerospike.ClientKey
array of unique record identifiers
packageName
Type: SystemString
server package name where user defined function resides
functionName
Type: SystemString
user defined function
functionArgs
Type: Aerospike.ClientValue
arguments passed in to user defined function

Return Value

Type: BatchResults

Implements

IAerospikeClientExecute(BatchPolicy, BatchUDFPolicy, Key, String, String, Value)
Exceptions

See Also

Reference