public function flushErrorByItem(Item $item) : int
    {
        $queryBuilder = $this->getQueryBuilder();
        $affectedRows = $this->getPreparedFlushErrorQuery($queryBuilder)
            ->andWhere(
                $queryBuilder->expr()->eq('uid', $item->getIndexQueueUid())
            )
            ->execute();
        return $affectedRows;
    }
public function flushErrorByItem(Item $item) : int
    {
        $queryBuilder = $this->getQueryBuilder();
        $affectedRows = $this->getPreparedFlushErrorQuery($queryBuilder)
            ->andWhere(
                $queryBuilder->expr()->eq('uid', $item->getIndexQueueUid())
            )
            ->execute();
        return $affectedRows;
    }
public function flushErrorByItem ( Item $ item ) : int { $ queryBuilder = $ this -> getQueryBuilder ( ) ; $ affectedRows = $ this -> getPreparedFlushErrorQuery ( $ queryBuilder ) -> andWhere ( $ queryBuilder -> expr ( ) -> eq ( 'uid' , $ item -> getIndexQueueUid ( ) ) ) -> execute ( ) ; return $ affectedRows ; }
Flushes the error for a single item.

@param Item $item
@return int affected rows
Flushes the error for a single item .