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:
Namespace: Aerospike.Clientudf file = <server udf dir>/<package name>.lua
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.7.0.0 (3.7.0)
Syntax
Parameters
- policy
- Type: Aerospike.Client WritePolicy
generic configuration parameters, pass in null for defaults
- key
- Type: Aerospike.Client Key
unique record identifier
- packageName
- Type:
System String
server package name where user defined function resides
- functionName
- Type:
System String
user defined function
- args
- Type: Aerospike.Client Value
arguments passed in to user defined function
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if transaction fails |
See Also