Fixed copy/paste error.
Added the Thrift QueryService code