Uses of Interface
com.daml.ledger.javaapi.data.codegen.ValueDecoder
Packages that use ValueDecoder
-
Uses of ValueDecoder in com.daml.ledger.javaapi.data.codegen
Fields in com.daml.ledger.javaapi.data.codegen declared as ValueDecoderModifier and TypeFieldDescriptionfinal ValueDecoder<ArgType>
Choice.argTypeDecoder
static final ValueDecoder<Boolean>
PrimitiveValueDecoders.fromBool
static final ValueDecoder<LocalDate>
PrimitiveValueDecoders.fromDate
static final ValueDecoder<Long>
PrimitiveValueDecoders.fromInt64
static final ValueDecoder<BigDecimal>
PrimitiveValueDecoders.fromNumeric
static final ValueDecoder<String>
PrimitiveValueDecoders.fromParty
static final ValueDecoder<String>
PrimitiveValueDecoders.fromText
static final ValueDecoder<Instant>
PrimitiveValueDecoders.fromTimestamp
static final ValueDecoder<Unit>
PrimitiveValueDecoders.fromUnit
final ValueDecoder<ResType>
Choice.returnTypeDecoder
final ValueDecoder<R>
Update.ExerciseUpdate.returnTypeDecoder
final ValueDecoder<View>
InterfaceCompanion.valueDecoder
Methods in com.daml.ledger.javaapi.data.codegen that return ValueDecoderModifier and TypeMethodDescriptionstatic <T> ValueDecoder<ContractId<T>>
PrimitiveValueDecoders.fromContractId
(ValueDecoder<T> contractType) static <K,
V> ValueDecoder<Map<K, V>> PrimitiveValueDecoders.fromGenMap
(ValueDecoder<K> keyType, ValueDecoder<V> valueType) Specifically for decoding theDA.Internal.LF.Map
primitive type.static <T> ValueDecoder<List<T>>
PrimitiveValueDecoders.fromList
(ValueDecoder<T> element) static <T> ValueDecoder<Optional<T>>
PrimitiveValueDecoders.fromOptional
(ValueDecoder<T> element) static <T> ValueDecoder<Map<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 ValueDecoderModifier and TypeMethodDescriptionstatic <T> ValueDecoder<ContractId<T>>
PrimitiveValueDecoders.fromContractId
(ValueDecoder<T> contractType) static <K,
V> ValueDecoder<Map<K, V>> PrimitiveValueDecoders.fromGenMap
(ValueDecoder<K> keyType, ValueDecoder<V> valueType) Specifically for decoding theDA.Internal.LF.Map
primitive type.static <T> ValueDecoder<List<T>>
PrimitiveValueDecoders.fromList
(ValueDecoder<T> element) static <T> ValueDecoder<Optional<T>>
PrimitiveValueDecoders.fromOptional
(ValueDecoder<T> element) static <T> ValueDecoder<Map<String,
T>> PrimitiveValueDecoders.fromTextMap
(ValueDecoder<T> valueType) Specifically for decoding theDA.Internal.LF.TextMap
primitive type.