Aerospike LINDPad Driver

AClusterAccess..::..Import Method (String, String, String, WritePolicy, Int32, CancellationToken)

Imports a SetRecords.Export(string, Exp) generated JSON file.

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

Syntax


public int Import(
	string nameSpace,
	string setName,
	string importJSONFile,
	WritePolicy writePolicy,
	int maxDegreeOfParallelism,
	CancellationToken cancellationToken
)

Parameters

nameSpace
Type: String
The name of the namespace
setName
Type: String
The set name
importJSONFile
Type: String
The JSON file where the JSON will be written
writePolicy
Type: WritePolicy
The write policy
maxDegreeOfParallelism
Type: Int32
The maximum degree of parallelism. MaxDegreeOfParallelism
cancellationToken
Type: CancellationToken

Return Value

The number of records imported