Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Persistency::DistributedAccessRepositoryInFile::WriteQuids ( DistributedAccess da,
const KernelMatrixLocator loc 
) [inline, private]

Definition at line 373 of file DistributedAccessRepositoryInFile.h.

References Impala::Core::Matrix::DistributedAccess::GetColumnQuids(), GetDir(), Impala::Persistency::KernelMatrixLocator::GetFeature(), Impala::Persistency::RepositoryInFileSystem::GetFile(), Impala::Persistency::File::GetPath(), Impala::Core::Matrix::DistributedAccess::GetRowQuids(), Impala::Core::Matrix::DistributedAccess::GetStartNode(), ILOG_INFO, RepFS(), and Impala::Util::Write().

Referenced by Add().

00374     {
00375         if (Link::Mpi::MyId() != da->GetStartNode())
00376             return;
00377 
00378         String dir = GetDir(loc);
00379         String filename = loc.GetFeature() + ".columns.tab";
00380         File file = RepFS().GetFile(loc, dir, filename, true, false);
00381         ILOG_INFO("Saving columns in " << file.GetPath());
00382         Write(da->GetColumnQuids(), file);
00383 
00384         filename = loc.GetFeature() + ".rows.tab";
00385         file = RepFS().GetFile(loc, dir, filename, true, false);
00386         ILOG_INFO("Saving rows in " << file.GetPath());
00387         Write(da->GetRowQuids(), file);
00388     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:40 2011 for ImpalaSrc by  doxygen 1.5.1