Package com.couchbase.client.java.kv
Class MutateInResult
java.lang.Object
com.couchbase.client.java.kv.MutationResult
com.couchbase.client.java.kv.MutateInResult
public class MutateInResult extends MutationResult
This result is returned from successful KeyValue subdocument mutation responses.
- Since:
- 3.0.0
-
Method Summary
Modifier and Type Method Description <T> TcontentAs(int index, TypeRef<T> target)Decodes the content at the given index into an instance of the target type with the default decoder.<T> TcontentAs(int index, TypeRef<T> target, JsonSerializer serializer)Decodes the content at the given index into an instance of the target type with a custom decoder.<T> TcontentAs(int index, Class<T> target)Decodes the content at the given index into the target class with the default decoder.<T> TcontentAs(int index, Class<T> target, JsonSerializer serializer)Decodes the content at the given index into an instance of the target class with a custom decoder.booleanequals(Object o)inthashCode()StringtoString()Methods inherited from class com.couchbase.client.java.kv.MutationResult
cas, mutationToken
-
Method Details
-
contentAs
Decodes the content at the given index into the target class with the default decoder.- Parameters:
index- the index of the subdoc value to decode.target- the target type to decode into.- Returns:
- the decoded content into the generic type requested.
-
contentAs
Decodes the content at the given index into an instance of the target type with the default decoder.- Parameters:
index- the index of the subdoc value to decode.target- the target type to decode into.- Returns:
- the decoded content into the generic type requested.
-
contentAs
Decodes the content at the given index into an instance of the target class with a custom decoder.- Parameters:
index- the index of the subdoc value to decode.target- the target type to decode into.serializer- the customJsonSerializerthat will be used.- Returns:
- the decoded content into the generic type requested.
-
contentAs
Decodes the content at the given index into an instance of the target type with a custom decoder.- Parameters:
index- the index of the subdoc value to decode.target- the target type to decode into.serializer- the customJsonSerializerthat will be used.- Returns:
- the decoded content into the generic type requested.
-
toString
- Overrides:
toStringin classMutationResult
-
equals
- Overrides:
equalsin classMutationResult
-
hashCode
public int hashCode()- Overrides:
hashCodein classMutationResult
-