Package com.couchbase.client.java.kv
Class LookupInReplicaResult
- java.lang.Object
-
- com.couchbase.client.java.kv.LookupInResult
-
- com.couchbase.client.java.kv.LookupInReplicaResult
-
public class LookupInReplicaResult extends LookupInResult
Extends LookupInResult to include additional information for lookupIn-from-replica style calls.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LookupInReplicaResultfrom(CoreSubdocGetResult response, JsonSerializer serializer)booleanisReplica()Returns whether the replica that returned this result was the replica or the active.StringtoString()-
Methods inherited from class com.couchbase.client.java.kv.LookupInResult
cas, contentAs, contentAs, contentAsArray, contentAsBytes, contentAsObject, exists, isDeleted
-
-
-
-
Method Detail
-
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
public String toString()
- Overrides:
toStringin classLookupInResult
-
-