Log in
Helper

Indexer

Magento\Catalog\Helper\Product\Flat\Indexer

What it does

This helper class manages the structure and creation of Magento 2's flat product tables, which are denormalized copies of product data used to improve catalog performance.

Developers use this class when working with flat indexing to define which product attributes should be included in the flat tables, configure table columns and indexes, and manage flat table creation/deletion across different store views.

Public Methods

  • getFlatColumnsDdlDefinition()
  • isAddFilterableAttributes()
  • isAddChildData()
  • getFlatColumns()
  • getEntityType()
  • getEntityTypeId()
  • getAttributes()
  • getAttributeCodes()
  • getFlatIndexes()
  • getTablesStructure()
  • getTable()
  • getFlatTableName()
  • getAttribute()
  • deleteAbandonedStoreFlatTables()
  • _resetState()