Aerospike LINDPad Driver

SetRecords<(Of <(<'T>)>)>..::..BatchRead<(Of <(<'P>)>)> Method

Return a collection of ARecord based on primaryKeys

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public IEnumerable<T> BatchRead<P>(
	IEnumerable<P> primaryKeys,
	BatchPolicy batchPolicy,
	BatchReadPolicy batchReadPolicy,
	Expression filterExpression,
	string[] returnBins
)

Type Parameters

P
Primary Key Type

Parameters

primaryKeys
Type: IEnumerable<(Of <(<'P>)>)>
A collection of Primarily Keys that will be part of the collection
batchPolicy
Type: BatchPolicy
batchReadPolicy
Type: BatchReadPolicy
filterExpression
Type: Expression
The expression that will be applied to the result set. Can be null.
returnBins
Type: array<String>[]()[][]
A collection of bins that are returned

Return Value

A collection of records based on primaryKeys or an empty collection