VolatileVectorStoreRecordCollectionOptions<Record> Class

  • java.lang.Object
    • com.microsoft.semantickernel.data.VolatileVectorStoreRecordCollectionOptions<Record>

Type Parameters

Record

the record type

Implements

VectorStoreRecordCollectionOptions<java.lang.String,Record>

public class VolatileVectorStoreRecordCollectionOptions<Record>
implements VectorStoreRecordCollectionOptions<java.lang.String,Record>

Represents the options for a volatile vector store record collection.

Constructor Summary

Constructor Description
VolatileVectorStoreRecordCollectionOptions(Class<Record> recordClass, VectorStoreRecordDefinition recordDefinition, ObjectMapper objectMapper)

Creates a new instance of the Volatile vector store record collection options.

Method Summary

Modifier and Type Method and Description
static Builder<Record> builder()

Creates a new builder.

java.lang.Class<java.lang.String> getKeyClass()

Gets the key class.

java.lang.Class<Record> getRecordClass()

Gets the record class.

VectorStoreRecordDefinition getRecordDefinition()

Gets the record definition.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

VolatileVectorStoreRecordCollectionOptions

public VolatileVectorStoreRecordCollectionOptions(Class recordClass, VectorStoreRecordDefinition recordDefinition, 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 Details

builder

public static VolatileVectorStoreRecordCollectionOptions.Builder builder()

Creates a new builder.

Returns:

the builder

getKeyClass

public Class getKeyClass()

Gets the key class.

Returns:

the key class

getRecordClass

public Class getRecordClass()

Gets the record class.

Returns:

the record class

getRecordDefinition

public VectorStoreRecordDefinition getRecordDefinition()

Gets the record definition.

Returns:

the record definition

Applies to