protected function setQueryController($namespace, $crud_type = 'Read')
    {
        $options = $this->setQueryOptions($crud_type);

        try {
            $this->query = $this->resource->get('query://' . $namespace, $options);

        } catch (Exception $e) {
            throw new RuntimeException($e->getMessage());
        }

        return $this;
    }