public class SubdocGetResponse extends BaseResponse
Constructor and Description |
---|
SubdocGetResponse(ResponseStatus status,
Optional<CouchbaseException> error,
SubDocumentField[] values,
long cas) |
Modifier and Type | Method and Description |
---|---|
long |
cas() |
Optional<CouchbaseException> |
error()
Error will be set, and should be checked and handled, when status==SUBDOC_FAILURE
|
String |
toString() |
SubDocumentField[] |
values() |
status
public SubdocGetResponse(ResponseStatus status, Optional<CouchbaseException> error, SubDocumentField[] values, long cas)
public SubDocumentField[] values()
public long cas()
public Optional<CouchbaseException> error()
Copyright © 2020 Couchbase, Inc.. All rights reserved.