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 index tables.

Developers use it when working with product flat indexing to define table columns, indexes, and attributes that should be included in the flattened product data structure for improved query performance.

It's primarily used by the flat product indexer to build and maintain denormalized product tables per store.

Public Methods

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