33class IImportStatement;
44 std::shared_ptr<IImportStatement> importService,
45 std::shared_ptr<core::ports::diagnostics::IErrorReporter> errorReporter,
46 std::size_t workers = 0);
48 std::shared_ptr<IImportStatement> importService,
49 std::shared_ptr<core::jobs::JobSystem> jobSystem);
77 std::unique_ptr<
Impl> impl_;
Defines shared job identifiers, states, events, and snapshots.
Draft transaction model used by import finalization and core application flow.
void unsubscribe(const core::jobs::JobId &id, core::jobs::SubscriptionId subId)
std::map< std::string, std::vector< std::uint8_t > > takeStatementArtifacts(const core::jobs::JobId &id)
core::jobs::SubscriptionId subscribe(const core::jobs::JobId &id, core::jobs::JobEventCallback cb)
~StatementImportJobSystem()
StatementImportJobSystem(const StatementImportJobSystem &)=delete
core::jobs::JobId startImportStatement(const ImportStatementJobSpec &spec)
std::optional< core::jobs::JobSnapshot > snapshot(const core::jobs::JobId &id) const
std::shared_ptr< core::domain::Statement > statementResult(const core::jobs::JobId &id) const
StatementImportJobSystem(StatementImportJobSystem &&) noexcept
StatementImportJobSystem & operator=(const StatementImportJobSystem &)=delete
StatementImportJobSystem(std::shared_ptr< IImportStatement > importService, std::shared_ptr< core::ports::diagnostics::IErrorReporter > errorReporter, std::size_t workers=0)
void cancel(const core::jobs::JobId &id)
void resume(const core::jobs::JobId &id)
std::vector< draft::TransactionDraft > statementTransactions(const core::jobs::JobId &id) const
void pause(const core::jobs::JobId &id)
Port for reporting structured diagnostic error events.