This PR move `QueryHook` interface to `optimizers` pkg Update all mockery generated files to latest Add makefile entry for `QueryHook` Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>