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

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

Definition at line 216 of file VideoSetsRepository.h.

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

Referenced by CopyTo().

00217     {
00218         Connection* conn = RepositoryInMonetDB::GetInstance().GetConnection(loc);
00219 
00220         std::vector<int> ids = GetAllId();
00221         for (int i=0 ; i<ids.size() ; i++)
00222         {
00223             String name = GetSetName(ids[i]);
00224             String q = "select i_add_video_set(" + MakeString(ids[i])
00225                 + ", '" + name + "');";
00226             ILOG_INFO("q = [" + q + "]");
00227             conn->Query(q, false, false);
00228         }
00229     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:37:25 2010 for ImpalaSrc by  doxygen 1.5.1