VolatileVectorStoreRecordCollectionOptions.Builder<Record> Class
- java.
lang. Object - com.
microsoft. semantickernel. data. VolatileVectorStoreRecordCollectionOptions. Builder<Record>
- com.
Type Parameters
- Record
the record type
public static class VolatileVectorStoreRecordCollectionOptions.Builder<Record>
Builder for Volatile vector store record collection options.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| Builder() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Volatile |
build()
Builds the options. |
| Builder<Record> |
withObjectMapper(ObjectMapper objectMapper)
Sets the object mapper. |
| Builder<Record> |
withRecordClass(Class<Record> recordClass)
Sets the record class. |
| Builder<Record> |
withRecordDefinition(VectorStoreRecordDefinition recordDefinition)
Sets the record definition. |
Methods inherited from java.lang.Object
Constructor Details
Builder
public Builder()
Method Details
build
public VolatileVectorStoreRecordCollectionOptions
Builds the options.
Returns:
withObjectMapper
public VolatileVectorStoreRecordCollectionOptions.Builder
Sets the object mapper.
Parameters:
Returns:
withRecordClass
public VolatileVectorStoreRecordCollectionOptions.Builder
Sets the record class.
Parameters:
Returns:
withRecordDefinition
public VolatileVectorStoreRecordCollectionOptions.Builder
Sets the record definition.
Parameters:
Returns: