c
com.digitalasset.canton.platform.store.dao.events
LfValueTranslation
Companion object LfValueTranslation
final class LfValueTranslation extends LfValueSerialization with NamedLogging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LfValueTranslation
- NamedLogging
- LfValueSerialization
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new LfValueTranslation(metrics: LedgerApiServerMetrics, engineO: Option[Engine], loadPackage: (PackageId, LoggingContextWithTrace) => Future[Option[Archive]], loggerFactory: NamedLoggerFactory)
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def deserializeRaw(eventProjectionProperties: EventProjectionProperties, rawCreatedEvent: RawCreatedEvent)(implicit ec: ExecutionContext, loggingContext: LoggingContextWithTrace): Future[CreatedEvent]
- def deserializeRaw(eventProjectionProperties: EventProjectionProperties, rawArchivedEvent: RawArchivedEvent): ArchivedEvent
- def deserializeRaw(eventProjectionProperties: EventProjectionProperties, rawExercisedEvent: RawExercisedEvent)(implicit ec: ExecutionContext, loggingContext: LoggingContextWithTrace): Future[ExercisedEvent]
- def engine: Engine
- def enrichContract(contract: FatContractInstance)(implicit ec: ExecutionContext, loggingContext: LoggingContextWithTrace): Future[FatContractInstance]
- def enrichVersionedTransaction(versionedTransaction: VersionedTransaction)(implicit ec: ExecutionContext, loggingContext: LoggingContextWithTrace): Future[VersionedTransaction]
- def enricher: Enricher
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def implementedInterfaces(eventProjectionProperties: EventProjectionProperties, witnessParties: Set[String], templateId: daml.lf.data.Ref.Identifier): Seq[daml.ledger.api.v2.value.Identifier]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Definition Classes
- LfValueTranslation → NamedLogging
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def serialize(exercise: Exercise): (Array[Byte], Option[Array[Byte]], Option[Array[Byte]])
Returns (choice argument, exercise result, contract key)
Returns (choice argument, exercise result, contract key)
- Definition Classes
- LfValueTranslation → LfValueSerialization
- def serialize(create: Create): (Array[Byte], Option[Array[Byte]])
Returns (contract argument, contract key)
Returns (contract argument, contract key)
- Definition Classes
- LfValueTranslation → LfValueSerialization
- def serialize(contractId: ContractId, contractArgument: VersionedValue): Array[Byte]
- Definition Classes
- LfValueTranslation → LfValueSerialization
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toApiContractData(value: Value, key: Option[VersionedValue], templateId: Identifier, witnesses: Set[String], eventProjectionProperties: EventProjectionProperties, fatContractInstance: => Either[String, FatContractInstance])(implicit ec: ExecutionContext, loggingContext: LoggingContextWithTrace): Future[ApiContractData]
- def toApiValue(value: Value, verbose: Boolean, attribute: => String, enrich: (Value) => Result[daml.lf.value.Value])(implicit ec: ExecutionContext, loggingContext: LoggingContextWithTrace): Future[daml.ledger.api.v2.value.Value]
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])