private function makeIndexedByRecordNameDataTable($blobRow, $keyMetadata)
    {
        $table = new DataTable\Map();
        $table->setKeyName('recordName');

        $tableMetadata = array_merge(DataCollection::getDataRowMetadata($blobRow), $keyMetadata);

        foreach ($blobRow as $name => $blob) {
            $newTable = DataTable::fromSerializedArray($blob);
            $newTable->setAllTableMetadata($tableMetadata);

            $table->addTable($newTable, $name);
        }

        return $table;
    }
private function makeIndexedByRecordNameDataTable($blobRow, $keyMetadata)
    {
        $table = new DataTable\Map();
        $table->setKeyName('recordName');

        $tableMetadata = array_merge(DataCollection::getDataRowMetadata($blobRow), $keyMetadata);

        foreach ($blobRow as $name => $blob) {
            $newTable = DataTable::fromSerializedArray($blob);
            $newTable->setAllTableMetadata($tableMetadata);

            $table->addTable($newTable, $name);
        }

        return $table;
    }
private function makeIndexedByRecordNameDataTable ( $ blobRow , $ keyMetadata ) { $ table = new DataTable \ Map ( ) ; $ table -> setKeyName ( 'recordName' ) ; $ tableMetadata = array_merge ( DataCollection :: getDataRowMetadata ( $ blobRow ) , $ keyMetadata ) ; foreach ( $ blobRow as $ name => $ blob ) { $ newTable = DataTable :: fromSerializedArray ( $ blob ) ; $ newTable -> setAllTableMetadata ( $ tableMetadata ) ; $ table -> addTable ( $ newTable , $ name ) ; } return $ table ; }
Creates a DataTable for every record in an archive data row and puts them
in a DataTable\Map instance.

@param array $blobRow
@return DataTable\Map
Creates a DataTable for every record in an archive data row and puts them in a DataTable \ Map instance .