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

void Impala::Persistency::VideoSetsRepository::CopyToMonetDB ( const Locator loc  )  const [inline, private]

Definition at line 227 of file VideoSetsRepository.h.

References GetAllId(), Impala::Persistency::RepositoryInMonetDB::GetConnection(), Impala::Persistency::RepositoryInMonetDB::GetInstance(), GetSetName(), ILOG_INFO, and Impala::MakeString().

Referenced by CopyTo().

00228     {
00229         Connection* conn = RepositoryInMonetDB::GetInstance().GetConnection(loc);
00230 
00231         std::vector<int> ids = GetAllId();
00232         for (int i=0 ; i<ids.size() ; i++)
00233         {
00234             String name = GetSetName(ids[i]);
00235             String q = "select i_add_video_set(" + MakeString(ids[i])
00236                 + ", '" + name + "');";
00237             ILOG_INFO("q = [" + q + "]");
00238             conn->Query(q, false, false);
00239         }
00240     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:23:57 2011 for ImpalaSrc by  doxygen 1.5.1