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
All Methods Instance Methods Concrete Methods 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 Detail
-
SubdocGetResponse
public SubdocGetResponse(ResponseStatus status, Optional<CouchbaseException> error, SubDocumentField[] values, long cas, boolean isDeleted)
-
-
Method Detail
-
values
public SubDocumentField[] values()
-
cas
public long cas()
-
error
public Optional<CouchbaseException> error()
Error will be set, and should be checked and handled, when status==SUBDOC_FAILURE
-
isDeleted
public boolean isDeleted()
-
toString
public String toString()
- Overrides:
toString
in classBaseResponse
-
-