The Statement type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | Statement | Initializes a new instance of the Statement class |
Methods
Name | Description | |
---|---|---|
![]() | SetAggregateFunction(String, String, Value ) |
Set Lua aggregation function parameters for a Lua package located on the filesystem.
This function will be called on both the server and client for each selected item.
|
![]() | SetAggregateFunction(Assembly, String, String, String, Value ) |
Set Lua aggregation function parameters for a Lua package located in an assembly resource.
This function will be called on both the server and client for each selected item.
|
![]() | SetBinNames |
Set query bin names.
|
![]() | SetFilters |
Set optional query filters.
Currently, only one filter is allowed by the server on a secondary index lookup.
If multiple filters are necessary, see QueryFilter example for a workaround.
QueryFilter demonstrates how to add additional filters in an user-defined
aggregation function.
|
![]() | SetIndexName |
Set optional query index name. If not set, the server
will determine the index from the filter's bin name.
|
![]() | SetNamespace |
Set query namespace.
|
![]() | SetSetName |
Set optional query set name.
|
![]() | SetTaskId |
Set optional query task id.
|
Properties
Name | Description | |
---|---|---|
![]() | BinNames |
Query bin names.
|
![]() | Filters |
Optional query filters.
Currently, only one filter is allowed by the server on a secondary index lookup.
If multiple filters are necessary, see QueryFilter example for a workaround.
QueryFilter demonstrates how to add additional filters in an user-defined
aggregation function.
|
![]() | FunctionArgs |
Arguments to pass to function name, if any.
Used by aggregate queries only.
|
![]() | FunctionName |
Aggregation function name.
Used by aggregate queries only.
|
![]() | IndexName |
Optional query index name. If not set, the server
will determine the index from the filter's bin name.
|
![]() | Namespace |
Query namespace.
|
![]() | PackageName |
Server package where user defined function resides.
Used by aggregate queries only.
|
![]() | ResourceAssembly |
Assembly where resource is located. Current assembly can be obtained by: Assembly.GetExecutingAssembly().
Used by aggregate queries only.
|
![]() | ResourcePath |
Namespace path where Lua resource is located. Example: Aerospike.Client.Resources.mypackage.lua
Used by aggregate queries only.
|
![]() | SetName |
Optional query set name.
|
![]() | TaskId |
Optional query task id.
|
See Also