IAerospikeClientExecute Method (WritePolicy, Key, String, String, Value)

Aerospike
Execute user defined function on server and return results. The function operates on a single record. The package name is used to locate the udf file location:

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

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

C#
Object Execute(
	WritePolicy policy,
	Key key,
	string packageName,
	string functionName,
	params Value[] args
)

Parameters

policy
Type: Aerospike.ClientWritePolicy
generic configuration parameters, pass in null for defaults
key
Type: Aerospike.ClientKey
unique record identifier
packageName
Type: SystemString
server package name where user defined function resides
functionName
Type: SystemString
user defined function
args
Type: Aerospike.ClientValue
arguments passed in to user defined function

Return Value

Type: Object
Exceptions

ExceptionCondition
AerospikeExceptionif transaction fails
See Also

Reference