Source
Magento\Customer\Model\Indexer\Source
What it does
This class serves as a data source provider for the customer_grid indexer in Magento 2.
It generates batches of customer data efficiently by loading customers in chunks (default 10,000 at a time) to avoid memory issues when reindexing large customer databases.
Developers would use this when working with customer grid indexing operations or when needing to iterate through large customer datasets in a memory-efficient manner.
Public Methods
- getMainTable()
- getIdFieldName()
- addFieldToSelect()
- getSelect()
- addFieldToFilter()
- count()
- getIterator()
- joinAttribute()