query tree: rename methods to add prefix query_tree_ before integration into Pipelet class