@InterfaceStability.Committed @InterfaceAudience.Private public class ViewQueryResponseMapper extends Object
Encapsulates functionality required to map from a ViewQueryResponse into a AsyncViewResult.
| Modifier and Type | Method and Description |
|---|---|
static rx.Observable<AsyncSpatialViewResult> |
mapToSpatialViewResult(AsyncBucket bucket,
SpatialViewQuery query,
ViewQueryResponse response)
Maps a raw
ViewQueryResponse into a AsyncSpatialViewResult. |
static rx.Observable<AsyncViewResult> |
mapToViewResult(AsyncBucket bucket,
ViewQuery query,
ViewQueryResponse response)
Maps a raw
ViewQueryResponse into a AsyncViewResult. |
public static rx.Observable<AsyncViewResult> mapToViewResult(AsyncBucket bucket, ViewQuery query, ViewQueryResponse response)
Maps a raw ViewQueryResponse into a AsyncViewResult.
bucket - reference to the bucket.query - the original query object.response - the response from the server.AsyncViewResult.public static rx.Observable<AsyncSpatialViewResult> mapToSpatialViewResult(AsyncBucket bucket, SpatialViewQuery query, ViewQueryResponse response)
Maps a raw ViewQueryResponse into a AsyncSpatialViewResult.
bucket - reference to the bucket.query - the original query object.response - the response from the server.AsyncSpatialViewResult.Copyright © 2015 Couchbase, Inc.