public function findAllIndexQueueItemsByRootPidAndMountIdentifierAndMountedPids(int $rootPid, string $identifier, array $mountedPids) : array
    {
        $queryBuilder = $this->getQueryBuilder();
        return $queryBuilder
            ->select('*')
            ->from($this->table)
            ->where(
                $queryBuilder->expr()->eq('root', $queryBuilder->createNamedParameter($rootPid, \PDO::PARAM_INT)),
                $queryBuilder->expr()->eq('item_type', $queryBuilder->createNamedParameter('pages')),
                $queryBuilder->expr()->in('item_uid', $mountedPids),
                $queryBuilder->expr()->eq('has_indexing_properties', $queryBuilder->createNamedParameter(1, \PDO::PARAM_INT)),
                $queryBuilder->expr()->eq('pages_mountidentifier', $queryBuilder->createNamedParameter($identifier))
            )
            ->execute()->fetchAll();
    }
public function findAllIndexQueueItemsByRootPidAndMountIdentifierAndMountedPids(int $rootPid, string $identifier, array $mountedPids) : array
    {
        $queryBuilder = $this->getQueryBuilder();
        return $queryBuilder
            ->select('*')
            ->from($this->table)
            ->where(
                $queryBuilder->expr()->eq('root', $queryBuilder->createNamedParameter($rootPid, \PDO::PARAM_INT)),
                $queryBuilder->expr()->eq('item_type', $queryBuilder->createNamedParameter('pages')),
                $queryBuilder->expr()->in('item_uid', $mountedPids),
                $queryBuilder->expr()->eq('has_indexing_properties', $queryBuilder->createNamedParameter(1, \PDO::PARAM_INT)),
                $queryBuilder->expr()->eq('pages_mountidentifier', $queryBuilder->createNamedParameter($identifier))
            )
            ->execute()->fetchAll();
    }
public function findAllIndexQueueItemsByRootPidAndMountIdentifierAndMountedPids ( int $ rootPid , string $ identifier , array $ mountedPids ) : array { $ queryBuilder = $ this -> getQueryBuilder ( ) ; return $ queryBuilder -> select ( '*' ) -> from ( $ this -> table ) -> where ( $ queryBuilder -> expr ( ) -> eq ( 'root' , $ queryBuilder -> createNamedParameter ( $ rootPid , \ PDO :: PARAM_INT ) ) , $ queryBuilder -> expr ( ) -> eq ( 'item_type' , $ queryBuilder -> createNamedParameter ( 'pages' ) ) , $ queryBuilder -> expr ( ) -> in ( 'item_uid' , $ mountedPids ) , $ queryBuilder -> expr ( ) -> eq ( 'has_indexing_properties' , $ queryBuilder -> createNamedParameter ( 1 , \ PDO :: PARAM_INT ) ) , $ queryBuilder -> expr ( ) -> eq ( 'pages_mountidentifier' , $ queryBuilder -> createNamedParameter ( $ identifier ) ) ) -> execute ( ) -> fetchAll ( ) ; }
Retrieves an array of items for mount destinations mathed by root page ID, Mount Identifier and a list of mounted page IDs.

@param int $rootPid
@param string $identifier identifier of the mount point
@param array $mountedPids An array of mounted page IDs
@return array
Retrieves an array of items for mount destinations mathed by root page ID Mount Identifier and a list of mounted page IDs .