Asynchronously execute user defined function on server and return result.
The function operates on a single record.
The package name is used to locate the udf file location on the server:
Namespace: Aerospike.Clientudf file = <server udf dir>/<package name>.lua
This method schedules the execute command with a channel selector and returns. Another thread will process the command and send the results to the listener.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.2.0.0 (3.2.3)
Syntax
Parameters
- policy
- Type: Aerospike.Client WritePolicy
write configuration parameters, pass in null for defaults
- listener
- Type: ExecuteListener
where to send results
- 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
- functionArgs
- Type: Aerospike.Client Value
arguments passed in to user defined function
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if transaction fails |
See Also