FilterMapping Interface

public interface FilterMapping

Method Summary

Modifier and Type Method and Description
abstract java.lang.String getAnyTagEqualToFilter(AnyTagEqualToFilterClause filterClause)

Gets the filter string for the given any tag equal to filter clause.

abstract java.lang.String getEqualToFilter(EqualToFilterClause filterClause)

Gets the filter string for the given equal to filter clause.

abstract java.lang.String getFilter(VectorSearchFilter filter, VectorStoreRecordDefinition recordDefinition)

Gets the filter string for the given vector search filter and record definition.

Method Details

getAnyTagEqualToFilter

public abstract String getAnyTagEqualToFilter(AnyTagEqualToFilterClause filterClause)

Gets the filter string for the given any tag equal to filter clause.

Parameters:

filterClause - The any tag equal to filter clause to get the filter string for.

Returns:

The filter string.

getEqualToFilter

public abstract String getEqualToFilter(EqualToFilterClause filterClause)

Gets the filter string for the given equal to filter clause.

Parameters:

filterClause - The equal to filter clause to get the filter string for.

Returns:

The filter string.

getFilter

public abstract String getFilter(VectorSearchFilter filter, VectorStoreRecordDefinition recordDefinition)

Gets the filter string for the given vector search filter and record definition.

Parameters:

filter - The filter to get the filter string for.
recordDefinition - The record definition to get the filter string for.

Returns:

The filter string.

Applies to