object LfEngineToApi
Translates com.daml.lf.value.Value values to Ledger API values.
All conversion functions are pure and total.
Most conversion functions have a verbose flag: - If verbose mode is disabled, then all resulting Api values have missing type identifiers and record field names. - If verbose mode is enabled, then type identifiers and record field names are copied from the input Daml-LF values. The caller is responsible for filling in missing type information using com.daml.lf.engine.ValueEnricher, which may involve loading Daml-LF packages.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LfEngineToApi
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assertOrRuntimeEx[A](failureContext: String, ea: Either[String, A]): A
- Annotations
- @throws(scala.this.throws.<init>$default$1[RuntimeException])
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lfValueToApiRecord(verbose: Boolean, recordValue: LfValue): Either[String, Record]
- def lfValueToApiValue(verbose: Boolean, value0: LfValue): Either[String, daml.ledger.api.v1.value.Value]
- def lfValueToApiValue(verbose: Boolean, lf: Option[LfValue]): Either[String, Option[daml.ledger.api.v1.value.Value]]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toApiIdentifier(identifier: daml.lf.data.Ref.Identifier): daml.ledger.api.v1.value.Identifier
- def toString(): String
- Definition Classes
- AnyRef → Any
- def toTimestamp(instant: Instant): Timestamp
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])