Interface FilterParser

  • All Implemented Interfaces:

    
    public interface FilterParser
    
                        

    Parses a filter expression string into a Filter object. Currently, there is only one implementation: SqlFilterParser in the langchain4j-embedding-store-filter-parser-sql module.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Filter parse(String filter) Parses a filter expression string into a Filter object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • parse

         abstract Filter parse(String filter)

        Parses a filter expression string into a Filter object.

        Parameters:
        filter - The filter expression as a string.
        Returns:

        A Filter object.