Add queryEngine support to DstoreAdapter