Class SearchKeywordResolver


  • public abstract class SearchKeywordResolver
    extends Object
    • Constructor Detail

      • SearchKeywordResolver

        public SearchKeywordResolver()
    • Method Detail

      • isResolverForKeyword

        public abstract boolean isResolverForKeyword​(SearchExpressionContext searchExpressionContext,
                                                     String keyword)
        Check if the keyword can be resolved by the current resolver
        Parameters:
        searchExpressionContext -
        keyword -
        Returns:
      • isPassthrough

        public boolean isPassthrough​(SearchExpressionContext searchExpressionContext,
                                     String keyword)
        A passthrough keyword is a keyword that according to the context does not require to be resolved on the server, and can be passed to the client
        Parameters:
        searchExpressionContext -
        keyword -
        Returns:
      • isLeaf

        public boolean isLeaf​(SearchExpressionContext searchExpressionContext,
                              String keyword)
        A leaf keyword is a keyword that does not allow to be combined with keywords or id chains to the right. For example: @none:@parent.
        Parameters:
        searchExpressionContext -
        keyword -
        Returns: