Class VolatileVectorStoreCollectionSearchMapping
- java.lang.Object
-
- com.microsoft.semantickernel.data.VolatileVectorStoreCollectionSearchMapping
-
public class VolatileVectorStoreCollectionSearchMapping extends Object
Provides methods to filter records based on aVectorSearchFilter.
-
-
Constructor Summary
Constructors Constructor Description VolatileVectorStoreCollectionSearchMapping()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <Record> List<Record>filterRecords(List<Record> records, VectorSearchFilter filter, VectorStoreRecordDefinition recordDefinition, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Filters the records based on the givenVectorSearchFilter.
-
-
-
Method Detail
-
filterRecords
public static <Record> List<Record> filterRecords(List<Record> records, VectorSearchFilter filter, VectorStoreRecordDefinition recordDefinition, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Filters the records based on the givenVectorSearchFilter.- Type Parameters:
Record- The record type.- Parameters:
records- The records to filter.filter- The filter to apply.recordDefinition- The record definition.objectMapper- The object mapper.- Returns:
- The filtered records.
-
-