public class MutateInResult extends MutationResult
Modifier and Type | Method and Description |
---|---|
<T> T |
contentAs(int index,
Class<T> target)
Decodes the content at the given index into the target class with the default decoder.
|
<T> T |
contentAs(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.
|
<T> T |
contentAs(int index,
TypeRef<T> target)
Decodes the content at the given index into an instance of the target type with the default decoder.
|
<T> T |
contentAs(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.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
cas, mutationToken
public <T> T contentAs(int index, Class<T> target)
index
- the index of the subdoc value to decode.target
- the target type to decode into.public <T> T contentAs(int index, TypeRef<T> target)
index
- the index of the subdoc value to decode.target
- the target type to decode into.public <T> T contentAs(int index, Class<T> target, JsonSerializer serializer)
index
- the index of the subdoc value to decode.target
- the target type to decode into.serializer
- the custom JsonSerializer
that will be used.public <T> T contentAs(int index, TypeRef<T> target, JsonSerializer serializer)
index
- the index of the subdoc value to decode.target
- the target type to decode into.serializer
- the custom JsonSerializer
that will be used.public String toString()
toString
in class MutationResult
public boolean equals(Object o)
equals
in class MutationResult
public int hashCode()
hashCode
in class MutationResult
Copyright © 2020 Couchbase, Inc.. All rights reserved.