@InterfaceStability.Uncommitted @InterfaceAudience.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
.
Constructor and Description |
---|
RawAnalyticsResponse(ResponseStatus status,
CouchbaseRequest request,
io.netty.buffer.ByteBuf jsonResponse,
int httpStatusCode,
String httpStatusMsg) |
Modifier and Type | Method and Description |
---|---|
int |
httpStatusCode() |
String |
httpStatusMsg() |
io.netty.buffer.ByteBuf |
jsonResponse() |
creationTime, request, status, statusDetails, statusDetails, toString
public RawAnalyticsResponse(ResponseStatus status, CouchbaseRequest request, io.netty.buffer.ByteBuf jsonResponse, int httpStatusCode, String httpStatusMsg)
public io.netty.buffer.ByteBuf jsonResponse()
public int httpStatusCode()
public String httpStatusMsg()
Copyright © 2018 Couchbase, Inc.. All rights reserved.