ANamespaceAccess Members
The ANamespaceAccess type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
![]() |
AsEnumerable |
Returns IEnumerable>ARecord< for the records of this set based on DefaultScanPolicy or filterExpression.
Note: The records' return order may vary between executions.
|
![]() |
BatchDelete<(Of <<'(R>)>>) |
Deletes records defined in primaryKeys.
|
![]() |
BatchRead(IEnumerable<(Of <<'(Key>)>>), BatchPolicy, BatchReadPolicy, Expression, array<String>[]()[][], ARecord..::..DumpTypes, array<String>[]()[][]) |
Return a collection of [ARecord] based on primaryKeys
|
![]() |
BatchRead(IEnumerable<(Of <<'(ARecord>)>>), BatchPolicy, BatchReadPolicy, Expression, array<String>[]()[][], ARecord..::..DumpTypes, array<String>[]()[][]) |
Return a collection of [ARecord] based on records
|
![]() |
BatchRead<(Of <<'(P>)>>)(String, IEnumerable<(Of <<'(P>)>>), BatchPolicy, BatchReadPolicy, Expression, array<String>[]()[][], ARecord..::..DumpTypes, array<String>[]()[][]) |
Return a collection of ARecord based on primaryKeys
|
![]() |
BatchWrite<(Of <<'(P>)>>)(String, IEnumerable<(Of <<'(ValueTuple<(Of <<'(P, IEnumerable<(Of <<'(Bin>)>>)>)>>)>)>>), BatchPolicy, BatchWritePolicy, ParallelOptions) |
Writes a collection of items to setName.
|
![]() |
BatchWrite<(Of <<'(P, V>)>>)(String, IEnumerable<(Of <<'(ValueTuple<(Of <<'(P, IDictionary<(Of <<'(String, V>)>>)>)>>)>)>>), BatchPolicy, BatchWritePolicy, ParallelOptions) |
Writes a collection of items to setName.
|
![]() |
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.
|
![]() |
BatchWriteObject<(Of <<'(P, T>)>>) |
Writes a collection of T objects to setName.
|
![]() |
BatchWriteRecord<(Of <<'(R>)>>) |
Writes a collection of ARecord as a operation.
|
![]() |
Clone |
Clones the specified instance providing new policies, if provided.
|
![]() |
CreateTransaction |
Creates an new Aerospike transaction which is a copy of this namespace.
|
![]() |
Equals(System.Object) | (Inherited from Object.) |
![]() |
Exists |
Determines if a set exists within this namespace.
|
![]() |
Export |
Exports all the records in this namespace to a JSON file.
|
![]() |
Finalize | (Inherited from Object.) |
![]() ![]() |
FindNamespace |
Finds the namespace.
|
![]() |
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).
|
![]() |
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.
|
![]() |
Get |
Will retrieve a record based on the primaryKey.
|
![]() |
GetAerospikeTxn |
Gets the aerospike Txn instance or Null
|
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetRecords(String, array<String>[]()[][]) |
Gets all records in a set
|
![]() |
GetRecords(String, String, array<String>[]()[][]) |
Gets all records in a namespace and/or set
|
![]() |
GetSetName |
Gets the Aerospike Set Name based on the PK Digest.
|
![]() |
GetType | (Inherited from Object.) |
![]() |
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.
|
![]() |
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.
|
![]() |
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).
|
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
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.
|
![]() |
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.
|
![]() |
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.
|
![]() |
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.
|
![]() |
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.
|
![]() |
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.
|
![]() |
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.
|
![]() |
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.
|
![]() ![]() |
RefreshExplorer |
Refreshes the Connection Explorer
|
![]() |
ToDump | |
![]() |
ToJson |
Creates a Json Array of all records in the set.
|
![]() |
ToString | |
![]() |
Truncate(InfoPolicy, Nullable<(Of <<'(DateTime>)>>)) |
Truncates all the Sets in this namespace
|
![]() |
Truncate(String, InfoPolicy, Nullable<(Of <<'(DateTime>)>>)) |
Truncates the Set
|
![]() |
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.
|
Properties
Name | Description | |
---|---|---|
![]() |
AerospikeConnection | |
![]() |
BinNames |
Returns all the bins used within this namespace.
|
![]() |
DBPlatform |
The Aerospike Platform this namespace is associated. DBPlatforms
|
![]() |
DefaultQueryPolicy | |
![]() |
DefaultReadPolicy | |
![]() |
DefaultScanPolicy | |
![]() |
DefaultWritePolicy | |
![]() |
IsMRT |
Gets a value indicating whether this Instance has MRTs enabled.
|
![]() |
IsStrongConsistencyMode |
Gets a value indicating whether this namespace is in strong consistency mode.
|
![]() |
Item |
Returns the Set instance or null indicating the set doesn't exists in this namespace.
|
![]() |
LPnamespace | |
![]() |
Namespace | |
![]() |
NullSet |
Returns the Aerospike Null Set for this namespace.
The Null Set will contain all the records with a namespace.
|
![]() |
SetNames |
Gets the names of th sets associate with this namespace.
|
![]() |
Sets |
Returns the associated set instances for this namespace.
|