Aerospike LINDPad Driver

LPDHelpers Methods

The LPDHelpers type exposes the following members.

Methods


  Name Description
Public method Static member AsEnumerable
Returns a collection of Record from an RecordSet.
Public method Static member Cast<(Of <<'(T>)>>)(Bin)
Casts a Bin's value into T.
Public method Static member Cast<(Of <<'(T>)>>)(Value)
Casts a Value's value into T.
Public method Static member CopyRecords(IEnumerable<(Of <<'(ARecord>)>>), SetRecords, Func<(Of <<'(ARecord, dynamic>)>>), WritePolicy, ParallelOptions)
Copies ARecord's from the source to targetSet. Note that if the namespace and/or set is different, this instances's values are used, except in the case where the primary key is a digest. In these cases, an InvalidOperationException is thrown but the PK can be changed with newPrimaryKeyValue.
Public method Static member CopyRecords(IEnumerable<(Of <<'(ARecord>)>>), ANamespaceAccess, String, Func<(Of <<'(ARecord, dynamic>)>>), WritePolicy, ParallelOptions)
Copies ARecord's from the source to targetSetName in targetNamespace. Note that if the namespace and/or set is different, this instances's values are used, except in the case where the primary key is a digest. In these cases, an InvalidOperationException is thrown but the PK can be changed with newPrimaryKeyValue
Public method Static member CopyRecords(IEnumerable<(Of <<'(ARecord>)>>), SetRecords, WritePolicy, ParallelOptions)
Copies ARecord's from the source to targetSet. Note that if the namespace and/or set is different, this instances's values are used, except in the case where the primary key is a digest. In these cases, an InvalidOperationException is thrown.
Public method Static member CopyRecords(IEnumerable<(Of <<'(ARecord>)>>), ANamespaceAccess, String, WritePolicy, ParallelOptions)
Copies ARecord's from the source to targetSetName in targetNamespace. Note that if the namespace and/or set is different, this instances's values are used, except in the case where the primary key is a digest. In these cases, an InvalidOperationException is thrown.
Public method Static member CopyRecords<(Of <<'(S>)>>)(IEnumerable<(Of <<'(S>)>>), SetRecords, Func<(Of <<'(S, dynamic>)>>), WritePolicy, ParallelOptions)
Public method Static member CopyRecords<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), ANamespaceAccess, String, Func<(Of <<'(T, dynamic>)>>), WritePolicy, ParallelOptions)
Public method Static member CopyRecords<(Of <<'(S>)>>)(IEnumerable<(Of <<'(S>)>>), SetRecords, WritePolicy, ParallelOptions)
Public method Static member FromUnixEpochNS
Converts a Unix Epoch nanoseconds value to a date time value.
Public method Static member ToAerospikeExpression
Public method Static member ToAerospikeKey
Converts a value to an Key. If value is a string of length 44 that begins with '0x', it will be treated as a digest.
Public method Static member ToAerospikeValue
Converts a .Net object into an Aerospike Value, if possible.
Public method Static member ToCDT(IEnumerable<(Of <<'(JObject>)>>))
This will convert a list of JObject to a list of dictionary items.
Public method Static member ToCDT(IEnumerable<(Of <<'(JsonDocument>)>>))
This will convert a list of JsonDocument to a list of dictionary items.
Public method Static member ToJArray
Public method Static member ToJson
Creates a JArray based on the collection of ARecord.
Public method Static member ToJsonDocument
Public method Static member ToUnixEpochNS(DateTime)
Converts a date/time to Unix Epoch nanosecond value
Public method Static member ToUnixEpochNS(DateTimeOffset)
Converts a date/time offset to Unix Epoch nanosecond value