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.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.0.0 (5.1.0)
Syntax
C#
ExecuteTask Execute( WritePolicy policy, Statement statement, string packageName, string functionName, params Value[] functionArgs )
Parameters
- policy
- Type: Aerospike.ClientWritePolicy
configuration parameters, pass in null for defaults - statement
- Type: Aerospike.ClientStatement
background query definition - packageName
- Type: SystemString
server package where user defined function resides - functionName
- Type: SystemString
function name - functionArgs
- Type: Aerospike.ClientValue
to pass to function name, if any
Return Value
Type: ExecuteTaskExceptions
Exception | Condition |
---|---|
AerospikeException | if command fails |
See Also