Class RawQueryResponse
- java.lang.Object
-
- com.couchbase.client.core.message.AbstractCouchbaseResponse
-
- com.couchbase.client.core.message.query.RawQueryResponse
-
- All Implemented Interfaces:
CouchbaseMessage
,CouchbaseResponse
@Uncommitted @Public public class RawQueryResponse extends AbstractCouchbaseResponse
The response to aRawQueryRequest
, which only contains the raw JSON payload returned by the Query service, as aByteBuf
. 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 inGenericQueryResponse
.- Since:
- 1.3
- Author:
- Simon Baslé
-
-
Constructor Summary
Constructors Constructor Description RawQueryResponse(ResponseStatus status, CouchbaseRequest request, ByteBuf jsonResponse, int httpStatusCode, String httpStatusMsg)
-
Method Summary
All Methods Instance Methods Concrete Methods 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 Detail
-
RawQueryResponse
public RawQueryResponse(ResponseStatus status, CouchbaseRequest request, ByteBuf jsonResponse, int httpStatusCode, String httpStatusMsg)
-
-