AsyncClient.Execute(BatchPolicy, BatchUDFPolicy, CancellationToken, Key[], String, String, Value[]) Method

Asynchronously execute user defined function on server for each key. Create listener, call asynchronous delete and return task monitor.

Requires server version 6.0+

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
C#
public Task<BatchResults> Execute(
	BatchPolicy batchPolicy,
	BatchUDFPolicy udfPolicy,
	CancellationToken token,
	Key[] keys,
	string packageName,
	string functionName,
	params Value[] functionArgs
)

Parameters

batchPolicy  BatchPolicy
batch configuration parameters, pass in null for defaults
udfPolicy  BatchUDFPolicy
udf configuration parameters, pass in null for defaults
token  CancellationToken
cancellation token
keys  Key[]
array of unique record identifiers
packageName  String
server package name where user defined function resides
functionName  String
user defined function
functionArgs  Value[]
arguments passed in to user defined function

Return Value

Task<BatchResults>

Implements

IAsyncClient.Execute(BatchPolicy, BatchUDFPolicy, CancellationToken, Key[], String, String, Value[])

Exceptions

AerospikeExceptionif queue is full

See Also