Interface SearchQueryElementFactory<T,​SC,​N>

    • Method Detail

      • create

        T create​(SC scope,
                 N node)
        Parameters:
        scope - The search context, i.e. information regarding the targeted indexes.
        node - The targeted index node.
        Returns:
        The query element, or an intermediary builder (depending on the factory type).
      • checkCompatibleWith

        void checkCompatibleWith​(SearchQueryElementFactory<?,​?,​?> other)
        Checks whether this factory and the given factory can be used interchangeably.
        Parameters:
        other - Another factory.
        Throws:
        SearchException - if the two factories cannot be used interchangeably.