Package com.couchbase.client.java.kv
Class LookupInReplicaResult
java.lang.Object
com.couchbase.client.java.kv.LookupInResult
com.couchbase.client.java.kv.LookupInReplicaResult
Extends LookupInResult to include additional information for lookupIn-from-replica style calls.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LookupInReplicaResult
from
(CoreSubdocGetResult response, JsonSerializer serializer) boolean
Returns whether the replica that returned this result was the replica or the active.toString()
Methods inherited from class com.couchbase.client.java.kv.LookupInResult
cas, contentAs, contentAs, contentAsArray, contentAsBytes, contentAsObject, exists, isDeleted
-
Method Details
-
from
@Internal public static LookupInReplicaResult from(CoreSubdocGetResult response, JsonSerializer serializer) -
isReplica
public boolean isReplica()Returns whether the replica that returned this result was the replica or the active. -
toString
- Overrides:
toString
in classLookupInResult
-