AsyncClient.Execute(WritePolicy, ExecuteListener, Key, String, String, Value[]) Method
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:
udf 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.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
public void Execute(
WritePolicy policy,
ExecuteListener listener,
Key key,
string packageName,
string functionName,
params Value[] functionArgs
)
- policy WritePolicy
- write configuration parameters, pass in null for defaults
- listener ExecuteListener
- where to send results
- key Key
- unique record identifier
- packageName String
- server package name where user defined function resides
- functionName String
- user defined function
- functionArgs Value[]
- arguments passed in to user defined function
IAsyncClient.Execute(WritePolicy, ExecuteListener, Key, String, String, Value[])