Class QueryTreeUtil


  • @Deprecated
    public class QueryTreeUtil
    extends java.lang.Object
    Deprecated.
    use QueryTree.and instead // TODO: Remove on Vespa 8
    Utility class for manipulating a QueryTree.
    Author:
    geirst
    • Constructor Detail

      • QueryTreeUtil

        public QueryTreeUtil()
        Deprecated.
    • Method Detail

      • andQueryItemWithRoot

        public static Item andQueryItemWithRoot​(Query query,
                                                Item item)
        Deprecated.
        Adds the given item to this query
        Returns:
        the new root of the query tree
      • andQueryItemWithRoot

        public static Item andQueryItemWithRoot​(QueryTree tree,
                                                Item item)
        Deprecated.
        Adds the given item to this query
        Returns:
        the new root of the query tree