Class RawAnalyticsResponse
java.lang.Object
com.couchbase.client.core.message.AbstractCouchbaseResponse
com.couchbase.client.core.message.analytics.RawAnalyticsResponse
- All Implemented Interfaces:
CouchbaseMessage
,CouchbaseResponse
@Uncommitted @Public public class RawAnalyticsResponse extends AbstractCouchbaseResponse
The response to a
RawAnalyticsRequest
, which only contains the raw JSON payload returned by
the Analytics service, as a ByteBuf
.
The response is only made available once all of the data has been emitted by the server (no
streaming of rows as they come like in GenericAnalyticsResponse
.- Since:
- 1.4.3
- Author:
- Simon Baslé
-
Constructor Summary
Constructors Constructor Description RawAnalyticsResponse(ResponseStatus status, CouchbaseRequest request, ByteBuf jsonResponse, int httpStatusCode, String httpStatusMsg)
-
Method Summary
Modifier and Type Method Description int
httpStatusCode()
String
httpStatusMsg()
ByteBuf
jsonResponse()
Methods inherited from class com.couchbase.client.core.message.AbstractCouchbaseResponse
creationTime, request, status, statusDetails, statusDetails, toString
-
Constructor Details
-
RawAnalyticsResponse
public RawAnalyticsResponse(ResponseStatus status, CouchbaseRequest request, ByteBuf jsonResponse, int httpStatusCode, String httpStatusMsg)
-
-
Method Details
-
jsonResponse
-
httpStatusCode
public int httpStatusCode() -
httpStatusMsg
-