VolatileVectorStore Class
- java.
lang. Object - com.
microsoft. semantickernel. data. VolatileVectorStore
- com.
Implements
public class VolatileVectorStore
implements VectorStore
Represents a volatile vector store. A volatile vector store is an in-memory vector store that does not persist data.
Constructor Summary
| Constructor | Description |
|---|---|
| VolatileVectorStore() |
Creates a new instance of the volatile vector store. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Vector |
<Key,Record>getCollection(String collectionName, VectorStoreRecordCollectionOptions<Key,Record> options)
Gets a collection from the vector store. |
| reactor.core.publisher.Mono<java.util.List<java.lang.String>> |
getCollectionNamesAsync()
Gets the names of all collections in the vector store. |
Methods inherited from java.lang.Object
Constructor Details
VolatileVectorStore
public VolatileVectorStore()
Creates a new instance of the volatile vector store.
Method Details
<Key,Record>getCollection
public VectorStoreRecordCollection
Gets a collection from the vector store.
Parameters:
Returns:
getCollectionNamesAsync
public Mono> getCollectionNamesAsync()
Gets the names of all collections in the vector store.
Returns: