|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (ResourceConnection $resource, TableResolver $tableResolver, $connectionName=null) | |
| getConnection () | |
| getMainTable (array $dimensions) | |
| createTablesForDimensions (array $dimensions) | |
| dropTablesForDimensions (array $dimensions) | |
| truncateTablesForDimensions (array $dimensions) | |
| getMainReplicaTable (array $dimensions) | |
| createMainTmpTable (array $dimensions) | |
| getMainTmpTable (array $dimensions) | |
Data Fields | |
| const | MAIN_INDEX_TABLE = 'catalog_product_index_price' |
Class encapsulate logic of work with tables per store in Product Price indexer
Definition at line 18 of file TableMaintainer.php.
| __construct | ( | ResourceConnection | $resource, |
| TableResolver | $tableResolver, | ||
$connectionName = null |
|||
| ) |
| ResourceConnection | $resource | |
| TableResolver | $tableResolver | |
| null | $connectionName |
Definition at line 65 of file TableMaintainer.php.
| createMainTmpTable | ( | array | $dimensions | ) |
Create temporary index table for dimensions
| Dimension[] | $dimensions |
Definition at line 252 of file TableMaintainer.php.
| createTablesForDimensions | ( | array | $dimensions | ) |
Create main and replica index tables for dimensions
| Dimension[] | $dimensions |
Definition at line 183 of file TableMaintainer.php.
| dropTablesForDimensions | ( | array | $dimensions | ) |
Drop main and replica index tables for dimensions
| Dimension[] | $dimensions |
Definition at line 208 of file TableMaintainer.php.
| getConnection | ( | ) |
Get connection for work with price indexer
Definition at line 80 of file TableMaintainer.php.
| getMainReplicaTable | ( | array | $dimensions | ) |
Return replica index table name
| Dimension[] | $dimensions |
Definition at line 240 of file TableMaintainer.php.
| getMainTable | ( | array | $dimensions | ) |
Return main index table name
| Dimension[] | $dimensions |
Definition at line 169 of file TableMaintainer.php.
| getMainTmpTable | ( | array | $dimensions | ) |
Return temporary index table name
| Dimension[] | $dimensions |
Definition at line 270 of file TableMaintainer.php.
| truncateTablesForDimensions | ( | array | $dimensions | ) |
Truncate main and replica index tables for dimensions
| Dimension[] | $dimensions |
Definition at line 224 of file TableMaintainer.php.
| const MAIN_INDEX_TABLE = 'catalog_product_index_price' |
Catalog product price index table name
Definition at line 23 of file TableMaintainer.php.