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

void Impala::Persistency::KeywordListRepositoryInMonet::Add ( const KeywordListLocator loc,
KeywordList keyList 
) [inline]

Definition at line 57 of file KeywordListRepositoryInMonet.h.

References Impala::FileNameBase(), Impala::Persistency::KeywordListLocator::GetConceptSet(), Impala::Persistency::RepositoryInMonetDB::GetConnection(), Impala::Persistency::Locator::GetDataSet(), ILOG_INFO, and RepMonet().

00058     {
00059         Connection* conn = RepMonet().GetConnection(loc);
00060 
00061         String vidSetBase = FileNameBase(loc.GetDataSet());
00062         String conceptSetBase = FileNameBase(loc.GetConceptSet());
00063         for (int i=0 ; i<keyList->size() ; i++)
00064         {
00065             String q = "select i_add_keyword('" + vidSetBase + "', '" +
00066                 conceptSetBase + "', '" + (*keyList)[i] + "');";
00067             ILOG_INFO("q = [" + q + "]");
00068             conn->Query(q, false, false);
00069         }
00070     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:36:09 2010 for ImpalaSrc by  doxygen 1.5.1