renamed AQueryWriter to QueryWriterAbstract