code: public static Observable<AsyncSpatialViewResult> mapToSpatialViewResult(final AsyncBucket bucket,
          final SpatialViewQuery query, final ViewQueryResponse response) {
  
          return response
              .info()
              .singleOrDefault(null)
              .map(new ByteBufToJsonObject())
              .map(new BuildSpatialViewResult(bucket, query, response));
      }
docs: Maps a raw {@link ViewQueryResponse} into a {@link AsyncSpatialViewResult}.
  
  @param bucket reference to the bucket.
  @param query the original query object.
  @param response the response from the server.
  @return a converted {@link AsyncSpatialViewResult}.