zypp::cache::CacheStore::Impl Struct Reference

List of all members.

Public Member Functions

 Impl (const Pathname &dbdir)
 Impl ()
 ~Impl ()

Public Attributes

sqlite3_connection con
 SQL statements (we precompile them.
sqlite3_command_ptr insert_resolvable_in_repository_cmd
sqlite3_command_ptr select_name_cmd
sqlite3_command_ptr insert_name_cmd
sqlite3_command_ptr select_dirname_cmd
sqlite3_command_ptr insert_dirname_cmd
sqlite3_command_ptr select_filename_cmd
sqlite3_command_ptr insert_filename_cmd
sqlite3_command_ptr select_repository_cmd
sqlite3_command_ptr insert_repository_cmd
sqlite3_command_ptr select_file_cmd
sqlite3_command_ptr insert_file_cmd
sqlite3_command_ptr select_type_cmd
sqlite3_command_ptr insert_type_cmd
sqlite3_command_ptr append_file_dependency_cmd
sqlite3_command_ptr append_named_dependency_cmd
sqlite3_command_ptr append_modalias_dependency_cmd
sqlite3_command_ptr append_hal_dependency_cmd
sqlite3_command_ptr append_filesystem_dependency_cmd
sqlite3_command_ptr append_split_dependency_cmd
sqlite3_command_ptr append_other_dependency_cmd
sqlite3_command_ptr append_resolvable_cmd
sqlite3_command_ptr append_text_attribute_cmd
sqlite3_command_ptr append_num_attribute_cmd
sqlite3_command_ptr set_shared_flag_cmd
sqlite3_command_ptr count_shared_cmd
sqlite3_command_ptr insert_patchrpm_cmd
sqlite3_command_ptr insert_deltarpm_cmd
sqlite3_command_ptr append_patch_baseversion_cmd
sqlite3_command_ptr update_disk_usage_cmd
map< string, RecordId > name_cache
map< pair< string,
string >, RecordId > 
type_cache
map< string, RecordId > dir_cache
int name_cache_hits
int dir_cache_hits


Detailed Description

Definition at line 53 of file CacheStore.cc.


Constructor & Destructor Documentation

zypp::cache::CacheStore::Impl::Impl ( const Pathname &  dbdir  )  [inline]

Definition at line 55 of file CacheStore.cc.

References append_file_dependency_cmd, append_filesystem_dependency_cmd, append_hal_dependency_cmd, append_modalias_dependency_cmd, append_named_dependency_cmd, append_num_attribute_cmd, append_other_dependency_cmd, append_patch_baseversion_cmd, append_resolvable_cmd, append_split_dependency_cmd, append_text_attribute_cmd, zypp::ui::asString(), con, count_shared_cmd, sqlite3x::sqlite3_connection::executenonquery(), insert_deltarpm_cmd, insert_dirname_cmd, insert_file_cmd, insert_filename_cmd, insert_name_cmd, insert_patchrpm_cmd, insert_repository_cmd, insert_resolvable_in_repository_cmd, insert_type_cmd, zypp::cache::CacheInitializer::justInitialized(), MIL, sqlite3x::sqlite3_connection::open(), select_dirname_cmd, select_file_cmd, select_filename_cmd, select_name_cmd, select_repository_cmd, select_type_cmd, set_shared_flag_cmd, update_disk_usage_cmd, and ZYPP_THROW.

zypp::cache::CacheStore::Impl::Impl (  )  [inline]

Definition at line 148 of file CacheStore.cc.

zypp::cache::CacheStore::Impl::~Impl (  )  [inline]

Definition at line 153 of file CacheStore.cc.

References MIL, name_cache, and name_cache_hits.


Member Data Documentation

sqlite3_connection zypp::cache::CacheStore::Impl::con

SQL statements (we precompile them.

Definition at line 162 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::insert_resolvable_in_repository_cmd

Definition at line 164 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::select_name_cmd

Definition at line 166 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::insert_name_cmd

Definition at line 167 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::select_dirname_cmd

Definition at line 169 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::insert_dirname_cmd

Definition at line 170 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::select_filename_cmd

Definition at line 172 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::insert_filename_cmd

Definition at line 173 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::select_repository_cmd

Definition at line 175 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::insert_repository_cmd

Definition at line 176 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::select_file_cmd

Definition at line 178 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::insert_file_cmd

Definition at line 179 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::select_type_cmd

Definition at line 181 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::insert_type_cmd

Definition at line 182 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::append_file_dependency_cmd

Definition at line 186 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::append_named_dependency_cmd

Definition at line 187 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::append_modalias_dependency_cmd

Definition at line 188 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::append_hal_dependency_cmd

Definition at line 189 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::append_filesystem_dependency_cmd

Definition at line 190 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::append_split_dependency_cmd

Definition at line 191 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::append_other_dependency_cmd

Definition at line 192 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::append_resolvable_cmd

Definition at line 194 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::append_text_attribute_cmd

Definition at line 196 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::append_num_attribute_cmd

Definition at line 197 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::set_shared_flag_cmd

Definition at line 199 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::count_shared_cmd

Definition at line 201 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::insert_patchrpm_cmd

Definition at line 203 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::insert_deltarpm_cmd

Definition at line 204 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::append_patch_baseversion_cmd

Definition at line 205 of file CacheStore.cc.

Referenced by Impl().

sqlite3_command_ptr zypp::cache::CacheStore::Impl::update_disk_usage_cmd

Definition at line 207 of file CacheStore.cc.

Referenced by Impl().

map<string, RecordId> zypp::cache::CacheStore::Impl::name_cache

Definition at line 209 of file CacheStore.cc.

Referenced by ~Impl().

map< pair<string,string>, RecordId> zypp::cache::CacheStore::Impl::type_cache

Definition at line 210 of file CacheStore.cc.

map<string, RecordId> zypp::cache::CacheStore::Impl::dir_cache

Definition at line 211 of file CacheStore.cc.

int zypp::cache::CacheStore::Impl::name_cache_hits

Definition at line 212 of file CacheStore.cc.

Referenced by ~Impl().

int zypp::cache::CacheStore::Impl::dir_cache_hits

Definition at line 213 of file CacheStore.cc.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 25 19:23:18 2007 for libzypp by  doxygen 1.5.3