Query processor integration