Class Mage_Index_Model_Resource_Abstract
Abstract resource model. Can be used as base for indexer resources
- Mage_Core_Model_Resource_Abstract
- Mage_Core_Model_Resource_Db_Abstract
- Mage_Index_Model_Resource_Abstract
Direct known subclasses
Mage_Catalog_Model_Resource_Category_Flat, Mage_Catalog_Model_Resource_Category_Indexer_Product, Mage_Catalog_Model_Resource_Product_Flat_Indexer, Mage_Catalog_Model_Resource_Product_Indexer_Abstract, Mage_Catalog_Model_Resource_Product_Indexer_Price, Mage_Index_Model_Mysql4_AbstractIndirect known subclasses
Mage_Bundle_Model_Mysql4_Indexer_Price, Mage_Bundle_Model_Mysql4_Indexer_Stock, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav_Decimal, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav_Source, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Configurable, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Default, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Grouped, Mage_Catalog_Model_Resource_Product_Indexer_Eav, Mage_Catalog_Model_Resource_Product_Indexer_Eav_Abstract, Mage_Catalog_Model_Resource_Product_Indexer_Eav_Decimal, Mage_Catalog_Model_Resource_Product_Indexer_Eav_Source, Mage_Bundle_Model_Resource_Indexer_Price, Mage_Catalog_Model_Resource_Product_Indexer_Price_Configurable, Mage_Catalog_Model_Resource_Product_Indexer_Price_Default, Mage_Catalog_Model_Resource_Product_Indexer_Price_Grouped, Mage_CatalogInventory_Model_Mysql4_Indexer_Stock, Mage_CatalogInventory_Model_Mysql4_Indexer_Stock_Configurable, Mage_CatalogInventory_Model_Mysql4_Indexer_Stock_Default, Mage_CatalogInventory_Model_Mysql4_Indexer_Stock_Grouped, Mage_CatalogInventory_Model_Resource_Indexer_Stock, Mage_CatalogInventory_Model_Resource_Indexer_Stock_Configurable, Mage_CatalogInventory_Model_Resource_Indexer_Stock_Default, Mage_Bundle_Model_Resource_Indexer_Stock, Mage_CatalogInventory_Model_Resource_Indexer_Stock_Grouped, Mage_Downloadable_Model_Mysql4_Indexer_Price, Mage_Downloadable_Model_Resource_Indexer_Price, Mage_Tag_Model_Mysql4_Indexer_Summary, Mage_Tag_Model_Resource_Indexer_Summary, Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat, Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Indexer_Product, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Flat_Indexer, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav_Abstract
Abstract
Package: Mage\Index
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Index/Model/Resource/Abstract.php
Package: Mage\Index
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Index/Model/Resource/Abstract.php
public
|
|
protected
Varien_Db_Adapter_Interface
|
|
public
string
|
|
public
|
|
public
|
#
insertFromTable( string $sourceTable, string $destTable, boolean $readToIndex = true )
Copy data from source table of read adapter to destination table of index adapter |
public
|
#
insertFromSelect( Varien_Db_Select $select, string $destTable, array $columns, boolean $readToIndex = true )
Insert data from select statement of read adapter to destination table related with index adapter |
public
boolean
|
#
useIdxTable( boolean $value = null )
Set or get what either "_idx" or "_tmp" suffixed temporary index table need to use |
public
boolean
|
#
useDisableKeys( boolean $value = null )
Set or get flag that defines if need to disable keys during data inserting |
public
|
|
public
|
|
public
|
string |
IDX_SUFFIX
|
'_idx' |
|
string |
TMP_SUFFIX
|
'_tmp' |
protected
boolean
|
$_isNeedUseIdxTable | false |
#
Flag that defines if need to use "_idx" index table suffix instead of "_tmp" |
protected
boolean
|
$_isDisableKeys | true |
#
Flag that defines if need to disable keys during data inserting |
$_commitCallbacks
|