@Override
    public boolean hasNext() {
      return !queue.isEmpty();
    }
the iterator of an Expression tree with level-order traversal
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/expression/Expression.java