- All Implemented Interfaces:
Filter
public class IsTextMatchPhrase
extends Object
implements Filter
-
Constructor Summary
Constructors
-
Method Summary
boolean
int
boolean
Tests if a given object satisfies this
Filter
.
Methods inherited from interface dev.langchain4j.store.embedding.filter.Filter
and, or
-
Constructor Details
-
IsTextMatchPhrase
public IsTextMatchPhrase(String key,
String comparisonValue)
-
Method Details
-
-
comparisonValue
public String comparisonValue()
-
test
public boolean test(Object object)
Description copied from interface: Filter
Tests if a given object satisfies this
Filter
.
- Specified by:
test
in interface Filter
- Parameters:
object
- An object to test.
- Returns:
true
if a given object satisfies this Filter
, false
otherwise.
-
-
-