IAerospikeClientQueryPartitions Method

Aerospike
Execute query for specified partitions and return record iterator. The query executor puts records on a queue in separate threads. The calling thread concurrently pops records off the queue through the record iterator.

Requires server version 6.0+ if using a secondary index query.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
RecordSet QueryPartitions(
	QueryPolicy policy,
	Statement statement,
	PartitionFilter partitionFilter
)

Parameters

policy
Type: Aerospike.ClientQueryPolicy
query configuration parameters, pass in null for defaults
statement
Type: Aerospike.ClientStatement
query definition
partitionFilter
Type: Aerospike.ClientPartitionFilter
filter on a subset of data partitions

Return Value

Type: RecordSet
Exceptions

ExceptionCondition
AerospikeExceptionif query fails
See Also

Reference