VolatileVectorStoreRecordCollectionOptions<Record> Class
- java.
lang. Object - com.
microsoft. semantickernel. data. VolatileVectorStoreRecordCollectionOptions<Record>
- com.
Type Parameters
- Record
the record type
Implements
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. |
|
Vector |
getRecordDefinition()
Gets the record definition. |
Methods inherited from java.lang.Object
Constructor Details
VolatileVectorStoreRecordCollectionOptions
public VolatileVectorStoreRecordCollectionOptions(Class
Creates a new instance of the Volatile vector store record collection options.
Parameters:
Method Details
builder
public static VolatileVectorStoreRecordCollectionOptions.Builder
Creates a new builder.
Returns:
getKeyClass
public Class
Gets the key class.
Returns:
getRecordClass
public Class
Gets the record class.
Returns:
getRecordDefinition
public VectorStoreRecordDefinition getRecordDefinition()
Gets the record definition.
Returns: