Package com.couchbase.client.core.msg.kv
Class SubdocGetResponse
java.lang.Object
com.couchbase.client.core.msg.BaseResponse
com.couchbase.client.core.msg.kv.SubdocGetResponse
- All Implemented Interfaces:
Response
public class SubdocGetResponse extends BaseResponse
-
Constructor Summary
Constructors Constructor Description SubdocGetResponse(ResponseStatus status, Optional<CouchbaseException> error, SubDocumentField[] values, long cas, boolean isDeleted)
-
Method Summary
Modifier and Type Method Description long
cas()
Optional<CouchbaseException>
error()
Error will be set, and should be checked and handled, when status==SUBDOC_FAILUREboolean
isDeleted()
String
toString()
SubDocumentField[]
values()
Methods inherited from class com.couchbase.client.core.msg.BaseResponse
status
-
Constructor Details
-
SubdocGetResponse
public SubdocGetResponse(ResponseStatus status, Optional<CouchbaseException> error, SubDocumentField[] values, long cas, boolean isDeleted)
-
-
Method Details
-
values
-
cas
public long cas() -
error
Error will be set, and should be checked and handled, when status==SUBDOC_FAILURE -
isDeleted
public boolean isDeleted() -
toString
- Overrides:
toString
in classBaseResponse
-