ARecord Methods
The ARecord type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
BinExists |
Determines if the bin exists within the record.
|
![]() |
Cast<(Of <<'(T>)>>)(Func<(Of <<'(String, Type, String, Object, Object>)>>)) |
Will convert the record into a user defined class were the bin's name is matches the class's field/property name and type.
|
![]() |
Cast<(Of <<'(T>)>>)(Object, Func<(Of <<'(String, Type, String, Object, Object>)>>)) |
Will convert the record into a user defined class were the bin's name is matches the class's field/property name and type.
|
![]() |
CreateDigest |
Creates an Aerospike Digest byte array (always length of 20 bytes) based on value.
|
![]() |
Delete |
Deletes the record from the DB.
|
![]() |
Equals(Object) |
Return true if object matches this record's AerospikeKey.
If a string and the key is not present, the string's digest is calculated and used to match the digest of this object.
Note that if it is an AerospikeRecord it is based on the digest and generation. You can bypass this by just using the Key.
|
![]() |
Equals(ARecord) |
Determine if the records are equal based on there digest, and generation.
|
![]() |
Equals(Key) |
Determines if the Aerospike Primary Key is the same as this record's.
|
![]() |
Equals(String) |
True if the record matches the primaryKey.
This works even if the key is not present in he AerospikeKey instance (Key) (KEY_SEND is false).
|
![]() |
Equals(Value) |
Determines if the Aerospike Value matches this record's primary key.
|
![]() |
Equals(AValue) |
Determines if the Aerospike AValue matches this record's primary key.
|
![]() |
Equals(ARecord, ARecord) | |
![]() |
Export |
Generates a JSON string based on JsonExportStructure.
|
![]() |
Finalize | (Inherited from Object.) |
![]() ![]() |
FromJson(String, String, Object, String, String, String, ANamespaceAccess) |
Given a Json string, creates a ARecord object that can but used to update the DB.
|
![]() ![]() |
FromJson(String, String, String, String, String, ANamespaceAccess, Boolean, Boolean) |
Given a Json string, creates a ARecord object that can but used to update the DB.
|
![]() |
GetFKValues |
Gets the associated Foreign Key of this Set, if defined.
|
![]() |
GetHashCode()()()() | |
![]() |
GetHashCode(ARecord) | |
![]() |
GetPK |
Returns the Primary Key for this record.
|
![]() |
GetType | (Inherited from Object.) |
![]() |
GetValue |
Returns the Bin's value.
|
![]() ![]() |
Import |
Created an ARecord from a JSON string based on JsonExportStructure or generated from Export(Boolean, JsonSerializerSettings)
|
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Refresh |
Re-retrieves the record from the DB based on Key.
A new instance of record is created and returned.
|
![]() |
SetDumpType |
Changes how the instance's properties are displayed. See DumpType
|
![]() |
SetException |
Places record in exception state.
|
![]() |
SetValue(String, Object, Boolean) |
Set a value to a bin within the record. This can be adding a new bin or updating an existing bin.
|
![]() |
SetValue<(Of <<'(T>)>>)(String, Nullable<(Of <<'(T>)>>), Boolean) |
Set a value to a bin within the record. This can be adding a new bin or updating an existing bin.
|
![]() |
ToDictionary |
Converts the record into a Dictionary<string, object> where the key is the bin name and the value is the bin's value.
To obtain the actual Aerospike Record see Record.
|
![]() |
ToDump()()()() | |
![]() |
ToJson |
Returns a JObject representing the record as JSON. Each property name will be the corresponding bin name.
The primary key is the PK value or the digest()()()() if the PK Value is not provided/present.
|
![]() |
ToString | |
![]() |
Update |
Updates this record in the DB
|