The schema for the migration process. It contains the prepared statements only used for the migration process.
More...
#include <CassandraMigrationSchema.hpp>
The schema for the migration process. It contains the prepared statements only used for the migration process.
◆ CassandraMigrationSchema()
| migration::cassandra::impl::CassandraMigrationSchema::CassandraMigrationSchema |
( |
SettingsProviderType const & | settings | ) |
|
|
inlineexplicit |
Construct a new Cassandra Migration Schema object.
- Parameters
-
| settings | The settings provider of database |
◆ getPreparedFullScanStatement()
| data::cassandra::PreparedStatement migration::cassandra::impl::CassandraMigrationSchema::getPreparedFullScanStatement |
( |
data::cassandra::Handle const & | handler, |
|
|
std::string const & | tableName, |
|
|
std::string const & | key ) |
|
inline |
Get the prepared statement for the full scan of a table.
- Parameters
-
| handler | The database handler |
| tableName | The name of the table |
| key | The partition key of the table |
- Returns
- The prepared statement
◆ getPreparedInsertMigratedMigrator()
| data::cassandra::PreparedStatement const & migration::cassandra::impl::CassandraMigrationSchema::getPreparedInsertMigratedMigrator |
( |
data::cassandra::Handle const & | handler | ) |
|
|
inline |
Get the prepared statement for insertion of migrator_status table.
- Parameters
-
| handler | The database handler |
- Returns
- The prepared statement to insert into migrator_status table
The documentation for this class was generated from the following file: