Uses of Interface
com.daml.ledger.javaapi.data.codegen.ValueDecoder
-
Packages that use ValueDecoder Package Description com.daml.ledger.javaapi.data.codegen -
-
Uses of ValueDecoder in com.daml.ledger.javaapi.data.codegen
Fields in com.daml.ledger.javaapi.data.codegen declared as ValueDecoder Modifier and Type Field Description static ValueDecoder<java.lang.Boolean>
PrimitiveValueDecoders. fromBool
static ValueDecoder<java.time.LocalDate>
PrimitiveValueDecoders. fromDate
static ValueDecoder<java.lang.Long>
PrimitiveValueDecoders. fromInt64
static ValueDecoder<java.math.BigDecimal>
PrimitiveValueDecoders. fromNumeric
static ValueDecoder<java.lang.String>
PrimitiveValueDecoders. fromParty
static ValueDecoder<java.lang.String>
PrimitiveValueDecoders. fromText
static ValueDecoder<java.time.Instant>
PrimitiveValueDecoders. fromTimestamp
static ValueDecoder<Unit>
PrimitiveValueDecoders. fromUnit
ValueDecoder<R>
Update.ExerciseUpdate. returnTypeDecoder
ValueDecoder<View>
InterfaceCompanion. valueDecoder
Methods in com.daml.ledger.javaapi.data.codegen that return ValueDecoder Modifier and Type Method Description static <T> ValueDecoder<ContractId<T>>
PrimitiveValueDecoders. fromContractId(ValueDecoder<T> contractType)
static <A> ValueDecoder<A>
ValueDecoder. fromFunction(java.util.function.Function<Value,A> fromValue)
Deprecated.since Daml 2.5.0; it is only used in deprecated fromValue method of all generated data classstatic <K,V>
ValueDecoder<java.util.Map<K,V>>PrimitiveValueDecoders. fromGenMap(ValueDecoder<K> keyType, ValueDecoder<V> valueType)
Specifically for decoding theDA.Internal.LF.Map
primitive type.static <T> ValueDecoder<java.util.List<T>>
PrimitiveValueDecoders. fromList(ValueDecoder<T> element)
static <T> ValueDecoder<java.util.Optional<T>>
PrimitiveValueDecoders. fromOptional(ValueDecoder<T> element)
static <T> ValueDecoder<java.util.Map<java.lang.String,T>>
PrimitiveValueDecoders. fromTextMap(ValueDecoder<T> valueType)
Specifically for decoding theDA.Internal.LF.TextMap
primitive type.static <T> ValueDecoder<T>
PrimitiveValueDecoders. impossible()
Can be passed to decoder-producing functions to decode phantom type parameters only.static <Data> ValueDecoder<Data>
ContractCompanion. valueDecoder(ContractCompanion<?,? extends ContractId<Data>,Data> companion)
Static method to generate an implementation ofValueDecoder
of typeData
with metadata from the providedContractCompanion
.Methods in com.daml.ledger.javaapi.data.codegen with parameters of type ValueDecoder Modifier and Type Method Description static <T> ValueDecoder<ContractId<T>>
PrimitiveValueDecoders. fromContractId(ValueDecoder<T> contractType)
static <K,V>
ValueDecoder<java.util.Map<K,V>>PrimitiveValueDecoders. fromGenMap(ValueDecoder<K> keyType, ValueDecoder<V> valueType)
Specifically for decoding theDA.Internal.LF.Map
primitive type.static <T> ValueDecoder<java.util.List<T>>
PrimitiveValueDecoders. fromList(ValueDecoder<T> element)
static <T> ValueDecoder<java.util.Optional<T>>
PrimitiveValueDecoders. fromOptional(ValueDecoder<T> element)
static <T> ValueDecoder<java.util.Map<java.lang.String,T>>
PrimitiveValueDecoders. fromTextMap(ValueDecoder<T> valueType)
Specifically for decoding theDA.Internal.LF.TextMap
primitive type.
-