trait IndexService extends IndexPackagesService with IndexConfigurationService with IndexCompletionsService with IndexTransactionsService with IndexEventQueryService with IndexActiveContractsService with ContractStore with MaximumLedgerTimeService with IdentityProvider with IndexPartyManagementService with IndexConfigManagementService with IndexParticipantPruningService with MeteringStore with ReportsHealth
- Alphabetic
- By Inheritance
- IndexService
- ReportsHealth
- MeteringStore
- IndexParticipantPruningService
- IndexConfigManagementService
- IndexPartyManagementService
- IdentityProvider
- MaximumLedgerTimeService
- ContractStore
- IndexActiveContractsService
- IndexEventQueryService
- IndexTransactionsService
- IndexCompletionsService
- LedgerEndService
- IndexConfigurationService
- IndexPackagesService
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def configurationEntries(startExclusive: Option[Absolute])(implicit loggingContext: LoggingContextWithTrace): Source[(Absolute, ConfigurationEntry), NotUsed]
Retrieve configuration entries.
Retrieve configuration entries.
- Definition Classes
- IndexConfigManagementService
- abstract def currentHealth(): HealthStatus
Reports the current health of the object.
Reports the current health of the object. This should always return immediately.
- Definition Classes
- ReportsHealth
- abstract def currentLedgerEnd(): Future[Absolute]
- Definition Classes
- LedgerEndService
- abstract def getActiveContracts(filter: TransactionFilter, verbose: Boolean, activeAtO: Option[Offset], multiDomainEnabled: Boolean)(implicit loggingContext: LoggingContextWithTrace): Source[GetActiveContractsResponse, NotUsed]
- Definition Classes
- IndexActiveContractsService
- abstract def getCompletions(startExclusive: LedgerOffset, endInclusive: LedgerOffset, applicationId: daml.lf.data.Ref.ApplicationId, parties: Set[Party])(implicit loggingContext: LoggingContextWithTrace): Source[CompletionStreamResponse, NotUsed]
- Definition Classes
- IndexCompletionsService
- abstract def getCompletions(begin: LedgerOffset, applicationId: daml.lf.data.Ref.ApplicationId, parties: Set[Party])(implicit loggingContext: LoggingContextWithTrace): Source[CompletionStreamResponse, NotUsed]
- Definition Classes
- IndexCompletionsService
- abstract def getEventsByContractId(contractId: ContractId, requestingParties: Set[Party])(implicit loggingContext: LoggingContextWithTrace): Future[GetEventsByContractIdResponse]
- Definition Classes
- IndexEventQueryService
- abstract def getEventsByContractKey(contractKey: Value, typeConRef: TypeConRef, requestingParties: Set[Party], keyContinuationToken: KeyContinuationToken)(implicit loggingContext: LoggingContextWithTrace): Future[GetEventsByContractKeyResponse]
- Definition Classes
- IndexEventQueryService
- abstract def getLedgerConfiguration()(implicit loggingContext: LoggingContextWithTrace): Source[LedgerConfiguration, NotUsed]
- Definition Classes
- IndexConfigurationService
- abstract def getLfArchive(packageId: PackageId)(implicit loggingContext: LoggingContextWithTrace): Future[Option[Archive]]
- Definition Classes
- IndexPackagesService
- abstract def getMeteringReportData(from: Timestamp, to: Option[Timestamp], applicationId: Option[daml.lf.data.Ref.ApplicationId])(implicit loggingContext: LoggingContextWithTrace): Future[ReportData]
- Definition Classes
- MeteringStore
- abstract def getParticipantId(): Future[ParticipantId]
- Definition Classes
- IndexPartyManagementService
- abstract def getParties(parties: Seq[Party])(implicit loggingContext: LoggingContextWithTrace): Future[List[IndexerPartyDetails]]
- Definition Classes
- IndexPartyManagementService
- abstract def getTransactionById(transactionId: TransactionId, requestingParties: Set[Party])(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetTransactionResponse]]
- Definition Classes
- IndexTransactionsService
- abstract def getTransactionTreeById(transactionId: TransactionId, requestingParties: Set[Party])(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetTransactionTreeResponse]]
- Definition Classes
- IndexTransactionsService
- abstract def latestPrunedOffsets()(implicit loggingContext: LoggingContextWithTrace): Future[(Absolute, Absolute)]
- Definition Classes
- IndexTransactionsService
- abstract def ledgerId: LedgerId
- Definition Classes
- IdentityProvider
- abstract def listKnownParties(fromExcl: Option[Party], maxResults: Int)(implicit loggingContext: LoggingContextWithTrace): Future[List[IndexerPartyDetails]]
- Definition Classes
- IndexPartyManagementService
- abstract def listLfPackages()(implicit loggingContext: LoggingContextWithTrace): Future[Map[PackageId, PackageDetails]]
- Definition Classes
- IndexPackagesService
- abstract def lookupActiveContract(readers: Set[Party], contractId: ContractId)(implicit loggingContext: LoggingContextWithTrace): Future[Option[VersionedContractInstance]]
Looking up an active contract.
Looking up an active contract. Lookup will succeed even if the creating transaction is not visible, but only the contract is divulged to one of the readers.
- Definition Classes
- ContractStore
- abstract def lookupConfiguration()(implicit loggingContext: LoggingContextWithTrace): Future[Option[(Absolute, Configuration)]]
Looks up the current configuration, if set, and the offset from which to subscribe to new configuration entries using configurationEntries.
Looks up the current configuration, if set, and the offset from which to subscribe to new configuration entries using configurationEntries.
- Definition Classes
- IndexConfigManagementService
- abstract def lookupContractKey(readers: Set[Party], key: GlobalKey)(implicit loggingContext: LoggingContextWithTrace): Future[Option[ContractId]]
- Definition Classes
- ContractStore
- abstract def lookupContractStateWithoutDivulgence(contractId: ContractId)(implicit loggingContext: LoggingContextWithTrace): Future[ContractState]
Querying the state of the contracts.
Querying the state of the contracts. If a contract only divulged to some readers, but the transaction of the creation is not visible to the participant, then the lookup will result in a NotFound.
- Definition Classes
- ContractStore
- abstract def lookupMaximumLedgerTimeAfterInterpretation(ids: Set[ContractId])(implicit loggingContext: LoggingContextWithTrace): Future[MaximumLedgerTime]
This method serves two purposes: 1 - Verify that none of the specified contracts are archived (archival of divulged contracts also count) 2 - Calculate the maximum ledger time of all the specified contracts (divulged contracts do not contribute) Important note: existence of the contracts is not checked, only the fact of archival, therefore this method is intended to be used after interpretation, which guarantees that all the used ids were visible once.
This method serves two purposes: 1 - Verify that none of the specified contracts are archived (archival of divulged contracts also count) 2 - Calculate the maximum ledger time of all the specified contracts (divulged contracts do not contribute) Important note: existence of the contracts is not checked, only the fact of archival, therefore this method is intended to be used after interpretation, which guarantees that all the used ids were visible once.
- returns
NotAvailable, if none of the specified contracts are archived, and all of them are divulged contracts (no ledger-time available) NotAvailable, if the specified set is empty. Max, if none of the specified contracts are archived, and the maximum ledger-time of all specified non-divulged contracts is known Archived, if there was at least one contract specified which is archived (this list is not necessarily exhaustive)
- Definition Classes
- MaximumLedgerTimeService
- abstract def packageEntries(startExclusive: Option[Absolute])(implicit loggingContext: LoggingContextWithTrace): Source[PackageEntry, NotUsed]
- Definition Classes
- IndexPackagesService
- abstract def partyEntries(startExclusive: Option[Absolute])(implicit loggingContext: LoggingContextWithTrace): Source[PartyEntry, NotUsed]
- Definition Classes
- IndexPartyManagementService
- abstract def prune(pruneUpToInclusive: Offset, pruneAllDivulgedContracts: Boolean)(implicit loggingContext: LoggingContextWithTrace): Future[Unit]
- Definition Classes
- IndexParticipantPruningService
- abstract def transactionTrees(begin: LedgerOffset, endAt: Option[LedgerOffset], filter: TransactionFilter, sendPrunedOffsets: Boolean, verbose: Boolean, multiDomainEnabled: Boolean)(implicit loggingContext: LoggingContextWithTrace): Source[GetUpdateTreesResponse, NotUsed]
- Definition Classes
- IndexTransactionsService
- abstract def transactions(begin: LedgerOffset, endAt: Option[LedgerOffset], filter: TransactionFilter, sendPrunedOffsets: Boolean, verbose: Boolean, multiDomainEnabled: Boolean)(implicit loggingContext: LoggingContextWithTrace): Source[GetUpdatesResponse, NotUsed]
- Definition Classes
- IndexTransactionsService
Concrete 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]) @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
- 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 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])