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: 4.1.4.0 (4.1.4)
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
Implements
IAerospikeClient Execute(WritePolicy, Key, String, String, Value )Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if transaction fails |
See Also