Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
etlng::LoaderInterface Struct Referenceabstract

An interface for a ETL Loader. More...

#include <LoaderInterface.hpp>

Inheritance diagram for etlng::LoaderInterface:

Public Member Functions

virtual void load (model::LedgerData const &data)=0
 Load ledger data.
 
virtual std::optional< ripple::LedgerHeader > loadInitialLedger (model::LedgerData const &data)=0
 Load the initial ledger.
 

Detailed Description

An interface for a ETL Loader.

Member Function Documentation

◆ load()

virtual void etlng::LoaderInterface::load ( model::LedgerData const & data)
pure virtual

Load ledger data.

Parameters
dataThe data to load

Implemented in etlng::impl::Loader.

◆ loadInitialLedger()

virtual std::optional< ripple::LedgerHeader > etlng::LoaderInterface::loadInitialLedger ( model::LedgerData const & data)
pure virtual

Load the initial ledger.

Parameters
dataThe data to load
Returns
Optional ledger header

Implemented in etlng::impl::Loader.


The documentation for this struct was generated from the following file: