finish query() for Content Provider.