java.lang.Object
dev.langchain4j.store.embedding.filter.comparison.IsGreaterThan
All Implemented Interfaces:
Filter

public class IsGreaterThan extends Object implements Filter
  • Constructor Details

    • IsGreaterThan

      public IsGreaterThan(String key, Comparable<?> comparisonValue)
  • Method Details

    • key

      public String key()
    • comparisonValue

      public Comparable<?> 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.