public class MutateInResult extends MutationResult
| Constructor and Description |
|---|
MutateInResult(com.couchbase.client.core.api.kv.CoreSubdocMutateResult core,
JsonSerializer serializer) |
| 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.
|
cas, equals, hashCode, mutationToken, toString@Stability.Internal
public MutateInResult(com.couchbase.client.core.api.kv.CoreSubdocMutateResult core,
JsonSerializer serializer)
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.Copyright © 2024 Couchbase, Inc.. All rights reserved.