Clio
develop
The XRP Ledger API server.
|
Manages the DB schema and provides access to prepared statements. More...
#include <Schema.hpp>
Classes | |
class | Statements |
Prepared statements holder. More... |
Public Member Functions | |
Schema (SettingsProviderType const &settingsProvider) | |
Shared Schema's between all Schema classes (Cassandra and Keyspace) | |
virtual void | prepareStatements (Handle const &handle)=0 |
Recreates the prepared statements. |
Public Attributes | |
std::string | createKeyspace |
std::vector< Statement > | createSchema |
Protected Attributes | |
util::Logger | log_ {"Backend"} |
std::reference_wrapper< SettingsProviderType const > | settingsProvider_ |
Manages the DB schema and provides access to prepared statements.
|
inlineexplicit |
|
pure virtual |
Recreates the prepared statements.
handle | The handle to the DB |
Implemented in data::cassandra::CassandraSchema< SettingsProviderType >, and data::cassandra::KeyspaceSchema< SettingsProviderType >.
std::string data::cassandra::Schema< SettingsProviderType >::createKeyspace |