Class VolatileVectorStoreRecordCollectionOptions<Record>
- java.lang.Object
-
- com.microsoft.semantickernel.data.VolatileVectorStoreRecordCollectionOptions<Record>
-
- Type Parameters:
Record- the record type
- All Implemented Interfaces:
VectorStoreRecordCollectionOptions<String,Record>
public class VolatileVectorStoreRecordCollectionOptions<Record> extends Object implements VectorStoreRecordCollectionOptions<String,Record>
Represents the options for a volatile vector store record collection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVolatileVectorStoreRecordCollectionOptions.Builder<Record>Builder for Volatile vector store record collection options.
-
Constructor Summary
Constructors Constructor Description VolatileVectorStoreRecordCollectionOptions(Class<Record> recordClass, VectorStoreRecordDefinition recordDefinition, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Creates a new instance of the Volatile vector store record collection options.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <Record> VolatileVectorStoreRecordCollectionOptions.Builder<Record>builder()Creates a new builder.Class<String>getKeyClass()Gets the key class.Class<Record>getRecordClass()Gets the record class.VectorStoreRecordDefinitiongetRecordDefinition()Gets the record definition.
-
-
-
Constructor Detail
-
VolatileVectorStoreRecordCollectionOptions
public VolatileVectorStoreRecordCollectionOptions(@Nonnull Class<Record> recordClass, @Nullable VectorStoreRecordDefinition recordDefinition, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Creates a new instance of the Volatile vector store record collection options.- Parameters:
recordClass- The record class.recordDefinition- The record definition.objectMapper- An instanc of Jackson ObjectMapper.
-
-
Method Detail
-
builder
public static <Record> VolatileVectorStoreRecordCollectionOptions.Builder<Record> builder()
Creates a new builder.- Type Parameters:
Record- the record type- Returns:
- the builder
-
getKeyClass
public Class<String> getKeyClass()
Gets the key class.- Specified by:
getKeyClassin interfaceVectorStoreRecordCollectionOptions<String,Record>- Returns:
- the key class
-
getRecordClass
public Class<Record> getRecordClass()
Gets the record class.- Specified by:
getRecordClassin interfaceVectorStoreRecordCollectionOptions<String,Record>- Returns:
- the record class
-
getRecordDefinition
public VectorStoreRecordDefinition getRecordDefinition()
Gets the record definition.- Specified by:
getRecordDefinitionin interfaceVectorStoreRecordCollectionOptions<String,Record>- Returns:
- the record definition
-
-