AUDFAccess..::..QueryAggregate Method (Statement, array<Object>[]()[][])
Executes the UDF based on statement and functionArgs
Namespace:
Aerospike.Database.LINQPadDriver.ExtensionsAssembly: Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)
Syntax
public IEnumerable<Object> QueryAggregate( Statement statement, params Object[] functionArgs )
Parameters
- statement
- Type: Statement
Aerospike Statement instance
- functionArgs
- Type: array<Object>[]()[][]
The values that are passed to the UDF. These values can be a Value or a C# native type.
Return Value
An Aerospike Result Set from the UDFExamples
C#
var bins = { "tweetcount", "region" }; var stmt = new Statement(); stmt.SetNamespace("test"); stmt.SetSetName("users"); stmt.SetIndexName("tweetcount_index"); stmt.SetBinNames(bins); stmt.SetFilters(Filter.Range("tweetcount", min, max)); var result = this.QueryAggregate(stmt);