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<SubDocumentException> error, List<SubdocField> values, long cas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
cas()
Optional<SubDocumentException>
error()
Error will be set, and should be checked and handled, when status==SUBDOC_FAILUREString
toString()
List<SubdocField>
values()
-
Methods inherited from class com.couchbase.client.core.msg.BaseResponse
status
-
-
-
-
Constructor Detail
-
SubdocGetResponse
public SubdocGetResponse(ResponseStatus status, Optional<SubDocumentException> error, List<SubdocField> values, long cas)
-
-
Method Detail
-
values
public List<SubdocField> values()
-
cas
public long cas()
-
error
public Optional<SubDocumentException> error()
Error will be set, and should be checked and handled, when status==SUBDOC_FAILURE
-
-