LPDHelpers Methods
The LPDHelpers type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
AsEnumerable |
Returns a collection of Record from an RecordSet.
|
|
|
Cast<(Of <<'(T>)>>)(Bin) |
Casts a Bin's value into T.
|
|
|
Cast<(Of <<'(T>)>>)(Value) |
Casts a Value's value into T.
|
|
|
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.
|
|
|
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
|
|
|
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.
|
|
|
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.
|
|
|
CopyRecords<(Of <<'(S>)>>)(IEnumerable<(Of <<'(S>)>>), SetRecords, Func<(Of <<'(S, dynamic>)>>), WritePolicy, ParallelOptions) | |
|
|
CopyRecords<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), ANamespaceAccess, String, Func<(Of <<'(T, dynamic>)>>), WritePolicy, ParallelOptions) | |
|
|
CopyRecords<(Of <<'(S>)>>)(IEnumerable<(Of <<'(S>)>>), SetRecords, WritePolicy, ParallelOptions) | |
|
|
FromUnixEpochNS |
Converts a Unix Epoch nanoseconds value to a date time value.
|
|
|
ToAerospikeExpression | |
|
|
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.
|
|
|
ToAerospikeValue |
Converts a .Net object into an Aerospike Value, if possible.
|
|
|
ToCDT(IEnumerable<(Of <<'(JObject>)>>)) |
This will convert a list of JObject to a list of dictionary items.
|
|
|
ToCDT(IEnumerable<(Of <<'(JsonDocument>)>>)) |
This will convert a list of JsonDocument to a list of dictionary items.
|
|
|
ToJArray | |
|
|
ToJson |
Creates a JArray based on the collection of ARecord.
|
|
|
ToJsonDocument | |
|
|
ToUnixEpochNS(DateTime) |
Converts a date/time to Unix Epoch nanosecond value
|
|
|
ToUnixEpochNS(DateTimeOffset) |
Converts a date/time offset to Unix Epoch nanosecond value
|

