Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

ARecord Methods

The ARecord type exposes the following members.

Methods


  Name Description
Public method BinExists
Determines if the bin exists within the record.
Public method 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.
Public method 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.
Public method CreateDigest
Creates an Aerospike Digest byte array (always length of 20 bytes) based on value.
Public method Delete
Deletes the record from the DB.
Public method 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.
Public method Equals(ARecord)
Determine if the records are equal based on there digest, and generation.
Public method Equals(Key)
Determines if the Aerospike Primary Key is the same as this record's.
Public method 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).
Public method Equals(Value)
Determines if the Aerospike Value matches this record's primary key.
Public method Equals(AValue)
Determines if the Aerospike AValue matches this record's primary key.
Public method Equals(ARecord, ARecord)
Public method Export
Generates a JSON string based on JsonExportStructure.
Protected method Finalize (Inherited from Object.)
Public method Static member FromJson(String, String, Object, String, String, String, ANamespaceAccess)
Given a Json string, creates a ARecord object that can but used to update the DB.
Public method Static member 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.
Public method GetFKValues
Gets the associated Foreign Key of this Set, if defined.
Public method GetHashCode()()()()
Public method GetHashCode(ARecord)
Public method GetPK
Returns the Primary Key for this record.
Public method GetType (Inherited from Object.)
Public method GetValue
Returns the Bin's value.
Public method Static member Import
Created an ARecord from a JSON string based on JsonExportStructure or generated from Export(Boolean, JsonSerializerSettings)
Protected method MemberwiseClone (Inherited from Object.)
Public method Refresh
Re-retrieves the record from the DB based on Key. A new instance of record is created and returned.
Public method SetDumpType
Changes how the instance's properties are displayed. See DumpType
Public method SetException
Places record in exception state.
Public method 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.
Public method 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.
Public method 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.
Public method ToDump()()()()
Public method 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.
Public method ToString
Public method Update
Updates this record in the DB