@InterfaceStability.Uncommitted @InterfaceAudience.Public public class RawQueryResponse extends AbstractCouchbaseResponse
The response to a RawQueryRequest
, which only contains the raw JSON payload returned by the Query 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 GenericQueryResponse
.
Constructor and Description |
---|
RawQueryResponse(ResponseStatus status,
CouchbaseRequest request,
ByteBuf jsonResponse,
int httpStatusCode,
String httpStatusMsg) |
Modifier and Type | Method and Description |
---|---|
int |
httpStatusCode() |
String |
httpStatusMsg() |
ByteBuf |
jsonResponse() |
creationTime, request, status, statusDetails, statusDetails, toString
public RawQueryResponse(ResponseStatus status, CouchbaseRequest request, ByteBuf jsonResponse, int httpStatusCode, String httpStatusMsg)
Copyright © 2018 Couchbase, Inc.. All rights reserved.