Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

ANamespaceAccess Methods

The ANamespaceAccess type exposes the following members.

Methods


  Name Description
Public method AsEnumerable
Returns IEnumerable>ARecord< for the records of this set based on DefaultScanPolicy or filterExpression. Note: The records' return order may vary between executions.
Public method BatchDelete<(Of <<'(R>)>>)
Deletes records defined in primaryKeys.
Public method BatchRead(IEnumerable<(Of <<'(Key>)>>), BatchPolicy, BatchReadPolicy, Expression, array<String>[]()[][], ARecord..::..DumpTypes, array<String>[]()[][])
Return a collection of [ARecord] based on primaryKeys
Public method BatchRead(IEnumerable<(Of <<'(ARecord>)>>), BatchPolicy, BatchReadPolicy, Expression, array<String>[]()[][], ARecord..::..DumpTypes, array<String>[]()[][])
Return a collection of [ARecord] based on records
Public method BatchRead<(Of <<'(P>)>>)(String, IEnumerable<(Of <<'(P>)>>), BatchPolicy, BatchReadPolicy, Expression, array<String>[]()[][], ARecord..::..DumpTypes, array<String>[]()[][])
Return a collection of ARecord based on primaryKeys
Public method BatchWrite<(Of <<'(P>)>>)(String, IEnumerable<(Of <<'(ValueTuple<(Of <<'(P, IEnumerable<(Of <<'(Bin>)>>)>)>>)>)>>), BatchPolicy, BatchWritePolicy, ParallelOptions)
Writes a collection of items to setName.
Public method BatchWrite<(Of <<'(P, V>)>>)(String, IEnumerable<(Of <<'(ValueTuple<(Of <<'(P, IDictionary<(Of <<'(String, V>)>>)>)>>)>)>>), BatchPolicy, BatchWritePolicy, ParallelOptions)
Writes a collection of items to setName.
Public method BatchWrite<(Of <<'(P, V>)>>)(String, IEnumerable<(Of <<'(ValueTuple<(Of <<'(P, IEnumerable<(Of <<'(ValueTuple<(Of <<'(String, V>)>>)>)>>)>)>>)>)>>), BatchPolicy, BatchWritePolicy, ParallelOptions)
Writes a collection of items to setName.
Public method BatchWriteObject<(Of <<'(P, T>)>>)
Writes a collection of T objects to setName.
Public method BatchWriteRecord<(Of <<'(R>)>>)
Writes a collection of ARecord as a operation.
Public method Clone
Clones the specified instance providing new policies, if provided.
Public method CreateTransaction
Creates an new Aerospike transaction which is a copy of this namespace.
Public method Equals(System.Object) (Inherited from Object.)
Public method Exists
Determines if a set exists within this namespace.
Public method Export
Exports all the records in this namespace to a JSON file.
Protected method Finalize (Inherited from Object.)
Public method Static member FindNamespace
Finds the namespace.
Public method FromJson(String, String, String, String, WritePolicy, Nullable<(Of <<'(TimeSpan>)>>), Boolean, IList<(Of <<'(ARecord>)>>), Boolean)
Converts a Json string into an ARecord which is than put into setName. Each top-level property in the Json is translated into a bin and value. Json Arrays and embedded objects are transformed into an Aerospike List or Map<string,object>. Note: If the Json string is an Json Array, each element is treated as a separate record. If the Json string is a Json Object, the following behavior occurs: If jsonBinName is provided, the Json object is treated as an Aerospike document which will be associated with that bin. if jsonBinName is null, each json property in that Json object is treated as a separate bin/value. You can also insert individual records by calling FromJson(String, String, String, String, WritePolicy, Nullable<(Of <<'(TimeSpan>)>>), Boolean, IList<(Of <<'(ARecord>)>>), Boolean).
Public method FromJson(String, String, Object, String, String, WritePolicy, Nullable<(Of <<'(TimeSpan>)>>), Boolean)
Converts a Json string into an ARecord which is than put into setName. Each top-level property in the Json is translated into a bin and value. Json Arrays and embedded objects are transformed into an Aerospike List or Map<string,object>. Note: If jsonBinName is provided the Json item will completely be placed into this bin as its' value.
Public method Get
Will retrieve a record based on the primaryKey.
Public method GetAerospikeTxn
Gets the aerospike Txn instance or Null
Public method GetHashCode (Inherited from Object.)
Public method GetRecords(String, array<String>[]()[][])
Gets all records in a set
Public method GetRecords(String, String, array<String>[]()[][])
Gets all records in a namespace and/or set
Public method GetSetName
Gets the Aerospike Set Name based on the PK Digest.
Public method GetType (Inherited from Object.)
Public method Import(String, String, WritePolicy, Nullable<(Of <<'(TimeSpan>)>>), Boolean, Int32, BatchPolicy, BatchWritePolicy, Boolean, CancellationToken)
Imports a Export(String, Exp, Boolean) generated JSON file into a set.
Public method Import(String, WritePolicy, Nullable<(Of <<'(TimeSpan>)>>), Boolean, Int32, BatchPolicy, BatchWritePolicy, Boolean, CancellationToken)
Imports a Export(String, Exp, Boolean) generated JSON file into the originally exported set.
Public method ImportJsonFile
This will import a Json file and convert it into a DB record for update into the DB. Each line in the file is treated as a new DB record. Each top-level property in the Json is translated into a bin and value. Json Arrays and embedded objects are transformed into an Aerospike List or Map<string,object>. Note: If the Json string is a Json Object, the following behavior occurs: If jsonBinName is provided, the Json object is treated as an Aerospike document which will be associated with that bin. if jsonBinName is null, each json property in that Json object is treated as a separate bin/value. You can also insert individual records by calling FromJson(String, String, String, String, WritePolicy, Nullable<(Of <<'(TimeSpan>)>>), Boolean, IList<(Of <<'(ARecord>)>>), Boolean).
Protected method MemberwiseClone (Inherited from Object.)
Public method Put(ARecord, String, WritePolicy, Nullable<(Of <<'(TimeSpan>)>>))
Puts (Writes) a DB record based on the provided record including Expiration. 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 Put(String, Object, String, Object, WritePolicy, Nullable<(Of <<'(TimeSpan>)>>))
Puts (writes) a bin to the DB record. Note that if the namespace and/or set is different, this instances's values are used.
Public method Put(String, Object, String, String, WritePolicy, Nullable<(Of <<'(TimeSpan>)>>))
Puts (writes) a bin to the DB record. Note that if the namespace and/or set is different, this instances's values are used.
Public method Put(String, Object, IEnumerable<(Of <<'(Bin>)>>), WritePolicy, Nullable<(Of <<'(TimeSpan>)>>))
Put (Writes) a DB record based on the provided key and bin values. Note that if the namespace and/or set is different, this instances's values are used.
Public method Put<(Of <<'(V>)>>)(String, Object, IDictionary<(Of <<'(String, V>)>>), WritePolicy, Nullable<(Of <<'(TimeSpan>)>>))
Puts (Writes) a DB record based on the provided key and bin values. Note that if the namespace and/or set is different, this instances's values are used.
Public method Put<(Of <<'(T>)>>)(String, Object, String, IList<(Of <<'(T>)>>), WritePolicy, Nullable<(Of <<'(TimeSpan>)>>))
Puts (writes) a bin to the DB record. Note that if the namespace and/or set is different, this instances's values are used.
Public method Put<(Of <<'(T>)>>)(String, Object, String, IEnumerable<(Of <<'(T>)>>), WritePolicy, Nullable<(Of <<'(TimeSpan>)>>))
Puts (writes) a bin to the DB record. Note that if the namespace and/or set is different, this instances's values are used.
Public method Put<(Of <<'(K, V>)>>)(String, Object, String, IDictionary<(Of <<'(K, V>)>>), WritePolicy, Nullable<(Of <<'(TimeSpan>)>>))
Puts (writes) a bin to the DB record. Note that if the namespace and/or set is different, this instances's values are used.
Public method Static member RefreshExplorer
Refreshes the Connection Explorer
Public method ToDump
Public method ToJson
Creates a Json Array of all records in the set.
Public method ToString
Public method Truncate(InfoPolicy, Nullable<(Of <<'(DateTime>)>>))
Truncates all the Sets in this namespace
Public method Truncate(String, InfoPolicy, Nullable<(Of <<'(DateTime>)>>))
Truncates the Set
Public method WriteObject<(Of <<'(T>)>>)
Writes the instance where each field/property is a bin name and the associated value the bin's value. and any of the "Put" methods.