Aerospike LINDPad Driver

AValueHelper Members

The AValueHelper type exposes the following members.

Methods


  Name Description
Public method Static member Cast<(Of <<'(TResult>)>>)
This method will cast each underlying value of an AValue element to TResult. To obtain values coerce into a type, use [Convert{TResult}(IEnumerable{AValue})].
Public method Static member Contains<(Of <<'(T>)>>)
Determines if matchValue matches based on matchOptions.
Public method Static member Convert<(Of <<'(TResult>)>>)
This will convert (coerce) values into TResult if possible. This will only return converted values. All other values will be ignored.
Public method Static member FindAll<(Of <<'(T>)>>)
Finds all matching values based on matchValue and matchOptions. For more information see [AValue.FindAll{T}(T, AValue.MatchOptions)].
Public method Static member OfType<(Of <<'(TResult>)>>)
This method returns only those values that exactly of type TResult. To obtain values coerce into a type, use [Convert{TResult}(IEnumerable{AValue})].
Public method Static member ToAPrimaryKey(Key)
Public method Static member ToAPrimaryKey(Object, String, String)
Converts a value to a APrimaryKey If value is a string of length 44 that begins with '0x', it will be treated as a digest.
Public method Static member ToAValue(Bin)
Public method Static member ToAValue(Value, String, String)
Public method Static member ToAValue(Object, String, String)
Public method Static member ToAValue<(Of <<'(T>)>>)(Nullable<(Of <<'(T>)>>), String, String)
Public method Static member ToAValueList(ARecord)
Converts an ARecord to a collection of AValues.
Public method Static member ToAValueList(Record)
Converts an Record to a collection of AValues.
Public method Static member ToDictionary
Converts a collection of AValues into a dictionary where the key is the AValue's Bin Name and the value is the AValue.
Public method Static member TryGetValue<(Of <<'(T>)>>)(IEnumerable<(Of <<'(AValue>)>>), T, AValue%)
Returns AValue, only if there is a match based on matchValue and this AValue's Value. A match occurs when any of the following happens: Value is a IEnumerable or JArray and one of the elements matches matchValueValue is a IDictionary and the key matches matchValueValue is a KeyValuePair and the key matches matchValue If matchValue is a KeyValuePair, both the key and value must match Value is a String and matchValue is contained within Otherwise ValueEquals(Object) is applied against matchValue
Public method Static member TryGetValue<(Of <<'(T>)>>)(IEnumerable<(Of <<'(AValue>)>>), T, Boolean)
Returns AValue, only if there is a match based on matchValue and this AValue's Value. A match occurs when any of the following happens: Value is a IEnumerable or JArray and one of the elements matches matchValueValue is a IDictionary and the key matches matchValueValue is a KeyValuePair and the key matches matchValue If matchValue is a KeyValuePair, both the key and value must match Value is a String and matchValue is contained within Otherwise ValueEquals(Object) is applied against matchValue
Public method Static member TryGetValue<(Of <<'(T, R>)>>)(IEnumerable<(Of <<'(AValue>)>>), T, R%)
Returns the converted value based on R, if possible, only if there is a match based on matchValue and this AValue's Value. If the matched value cannot be converted to R, this will return false. A match occurs when any of the following happens: Value is a IEnumerable or JArray and one of the elements matches matchValueValue is a IDictionary and the key matches matchValueValue is a KeyValuePair and the key matches matchValue If matchValue is a KeyValuePair, both the key and value must match Value is a String and matchValue is contained within Otherwise ValueEquals(Object) is applied against matchValue
Public method Static member TryGetValue<(Of <<'(T, R>)>>)(IEnumerable<(Of <<'(AValue>)>>), T, R)
Returns the converted value based on R, if possible, only if there is a match based on matchValue and this AValue's Value. If the matched value cannot be converted to R, this will return false. A match occurs when any of the following happens: Value is a IEnumerable or JArray and one of the elements matches matchValueValue is a IDictionary and the key matches matchValueValue is a KeyValuePair and the key matches matchValue If matchValue is a KeyValuePair, both the key and value must match Value is a String and matchValue is contained within Otherwise ValueEquals(Object) is applied against matchValue