IAsyncClientExecute Method

Overload List

Execute(WritePolicy, Statement, Operation) Apply operations on records that match the background query statement filter. Records are not returned to the client. This asynchronous server call will return before the command is complete. The user can optionally wait for command completion by using the returned ExecuteTask instance.
Execute(WritePolicy, Key, String, String, Value) 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

Execute(WritePolicy, Statement, String, String, Value) Apply user defined function on records that match the background query statement filter. Records are not returned to the client. This asynchronous server call will return before the command is complete. The user can optionally wait for command completion by using the returned ExecuteTask instance.
Execute(BatchPolicy, BatchUDFPolicy, Key, String, String, Value) Execute user defined function on server for each key and return results. The package name is used to locate the udf file location:

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

Requires server version 6.0+

Execute(WritePolicy, ExecuteListener, Key, String, String, Value) 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.

Execute(WritePolicy, CancellationToken, Key, String, String, Value) Asynchronously execute user defined function on server for a single record and return result. Create listener, call asynchronous execute and return task monitor.
Execute(BatchPolicy, BatchUDFPolicy, BatchRecordArrayListener, Key, String, String, Value) Asynchronously execute user defined function on server for each key. 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.

The package name is used to locate the udf file location:

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

Requires server version 6.0+

Execute(BatchPolicy, BatchUDFPolicy, BatchRecordSequenceListener, Key, String, String, Value) Asynchronously execute user defined function on server for each key. 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. Each record result is returned in separate OnRecord() calls.

The package name is used to locate the udf file location:

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

Requires server version 6.0+

Execute(BatchPolicy, BatchUDFPolicy, CancellationToken, Key, String, String, Value) Asynchronously execute user defined function on server for each key. Create listener, call asynchronous delete and return task monitor.

Requires server version 6.0+

See Also