QueryPolicymaxRecords Field


Note: This API is now obsolete.

Approximate number of records to return to client. This number is divided by the number of nodes involved in the query. The actual number of records returned may be less than maxRecords if node record counts are small and unbalanced across nodes.

maxRecords is only supported when query filter is null. maxRecords exists here because query methods will convert into a scan when the query filter is null. maxRecords is ignored when the query contains a filter.

Default: 0 (do not limit record count)

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

[ObsoleteAttribute("Use 'Statement.MaxRecords' instead.")]
public long maxRecords

Field Value

Type: Int64
See Also