IHVectorCollection<TKey, TValue> Interface
Namespace: Hazelcast.DistributedObjects
Assembly: Hazelcast.Net.dll
BETA Represents a distributed collection of vector documents.
public interface IHVectorCollection<TKey, TValue> : IDistributedObject, IAsyncDisposable
Inherited Members
Type Parameters
| TKey | The type of the key associated with the collection. |
| TValue | The type of the value contained in the vector documents. |
Methods
| Name | Description |
|---|---|
| ClearAsync() | Asynchronously clears all entries in the collection. |
| GetAsync(TKey) | Gets the vector document associated with the specified key. |
| GetSizeAsync() | Gets the number of entries in the vector collection. |
| OptimizeAsync() | Optimizes the only index by fully removing nodes marked for deletion, trimming neighbor sets to the advertised degree, and updating the entry node as necessary. Backups of this operation are always executed as async backups. |
| OptimizeAsync(string) | Optimizes the specified index by fully removing nodes marked for deletion, trimming neighbor sets to the advertised degree, and updating the entry node as necessary. Backups of this operation are always executed as async backups. |
| PutAllAsync(IDictionary<TKey, IVectorDocument<TValue>>) | Puts all the specified vector documents into the collection. |
| PutAsync(TKey, IVectorDocument<TValue>) | Puts the specified vector document into the collection with the specified key. |
| PutIfAbsentAsync(TKey, IVectorDocument<TValue>) | Puts the specified vector document into the collection with the specified key if the key is not already associated with a vector document. |
| RemoveAsync(TKey) | Removes the vector document associated with the specified key from the collection. |
| SearchAsync(VectorValues, VectorSearchOptions) | Performs asynchronously a similarity search according to the options in the given If there are many concurrent modifications during the search, it is possible but extremely unlikely to receive fewer results than requested, even when the collection contains enough items. |
| SetAsync(TKey, IVectorDocument<TValue>) | Sets the specified vector document into the collection with the specified key. |