original_string: private function setVisitorIds(DataTable $dataTable)
      {
          foreach ($dataTable->getRows() as $row) {
              $userId = $row->getColumn('label');
              if (isset($this->visitorIdsUserIdsMap[$userId])) {
                  $row->setMetadata(self::VISITOR_ID_FIELD, $this->visitorIdsUserIdsMap[$userId]);
              }
          }
      }
code: private function setVisitorIds(DataTable $dataTable)
      {
          foreach ($dataTable->getRows() as $row) {
              $userId = $row->getColumn('label');
              if (isset($this->visitorIdsUserIdsMap[$userId])) {
                  $row->setMetadata(self::VISITOR_ID_FIELD, $this->visitorIdsUserIdsMap[$userId]);
              }
          }
      }
code_tokens: private function setVisitorIds ( DataTable $ dataTable ) { foreach ( $ dataTable -> getRows ( ) as $ row ) { $ userId = $ row -> getColumn ( 'label' ) ; if ( isset ( $ this -> visitorIdsUserIdsMap [ $ userId ] ) ) { $ row -> setMetadata ( self :: VISITOR_ID_FIELD , $ this -> visitorIdsUserIdsMap [ $ userId ] ) ; } } }
docstring: Fill visitor ID as metadata before actual inserting rows to DB.
  
  @param DataTable $dataTable
docstring_tokens: Fill visitor ID as metadata before actual inserting rows to DB .