partial QueryWriter