Refactor the query engine of h2, expression ast -> logical expression tree