You can override model using plugin features in Magento2
for that Create a custom module and in di.xml put code like below
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\CatalogImportExport\Model\Export\Product">
<plugin name="override-module-export-product" type="Nimesh\HelloWorld\Plugin\Export\Product" sortOrder="1" />
</type>
</config>
You can override model function using before, after & around method. In below example, We can override export function behavior using before and after method
Create class file like this
(app/code/Nimesh/HelloWorld/Plugin/Export/Product.php)
namespace Nimesh/HelloWorld/Plugin/Export;
class Product
{
public function beforeExport(\Magento\CatalogImportExport\Model\Export\Product $product)
{
/******put your logic *******/
}
public function afterExport(\Magento\CatalogImportExport\Model\Export\Product $product)
{
/********put your logic ********/
}
}
?>