Class AdvancedQueryBuilder

    • Field Detail

      • ROLE

        public static final String ROLE
        The component role.
    • Method Detail

      • build

        public <T> Query build​(AbstractTreeNode<T> tree,
                               Function<T,​Query> queryMapper)
        Builds the Query object represented by the given tree of advanced search criteria.
        Type Parameters:
        T - the type of the values of the leaves of the given tree
        Parameters:
        tree - The tree
        queryMapper - The mapper to build a Query from a leaf
        Returns:
        the built query of the tree