private function getLoadPriceDataSelect($indexTable, $websiteId, $productIds)
    {
        $select = $this->getConnection()->select()
            ->from(['p' => $indexTable])
            ->where('p.website_id = ?', $websiteId)
            ->where('p.entity_id IN(?)', $productIds);

        return $select;
    }
private function getLoadPriceDataSelect($indexTable, $websiteId, $productIds)
    {
        $select = $this->getConnection()->select()
            ->from(['p' => $indexTable])
            ->where('p.website_id = ?', $websiteId)
            ->where('p.entity_id IN(?)', $productIds);

        return $select;
    }
private function getLoadPriceDataSelect ( $ indexTable , $ websiteId , $ productIds ) { $ select = $ this -> getConnection ( ) -> select ( ) -> from ( [ 'p' => $ indexTable ] ) -> where ( 'p.website_id = ?' , $ websiteId ) -> where ( 'p.entity_id IN(?)' , $ productIds ) ; return $ select ; }
Return a single price loading query against a specific price index table.

@param string  $indexTable Price index table.
@param integer $websiteId  Website id.
@param array   $productIds Product ids list.

@return \Magento\Framework\DB\Select
Return a single price loading query against a specific price index table .