swh.storage.postgresql package#
Submodules#
- swh.storage.postgresql.converters module
- swh.storage.postgresql.db module
jsonize()
QueryBuilder
Db
Db.mktemp_dir_entry()
Db.mktemp_revision()
Db.mktemp_release()
Db.mktemp_snapshot_branch()
Db.content_add_from_temp()
Db.directory_add_from_temp()
Db.skipped_content_add_from_temp()
Db.revision_add_from_temp()
Db.extid_add_from_temp()
Db.release_add_from_temp()
Db.content_update_from_temp()
Db.content_get_metadata_keys
Db.content_add_keys
Db.skipped_content_keys
Db.content_get_metadata_from_hashes()
Db.content_get_range()
Db.content_hash_keys
Db.content_missing_from_list()
Db.content_missing_per_sha1()
Db.content_missing_per_sha1_git()
Db.content_find_cols
Db.content_find()
Db.content_get_random()
Db.skipped_content_missing()
Db.skipped_content_find_cols
Db.skipped_content_find()
Db.directory_missing_from_list()
Db.directory_ls_cols
Db.directory_walk_one()
Db.directory_walk()
Db.directory_entry_get_by_path()
Db.directory_get_entries_cols
Db.directory_get_entries()
Db.directory_get_raw_manifest()
Db.directory_get_id_range()
Db.directory_get_random()
Db.revision_missing_from_list()
Db.revision_add_cols
Db.revision_get_cols
Db.mangle_query_key()
Db.revision_get_from_list()
Db.revision_get_range()
Db.revision_log()
Db.revision_shortlog_cols
Db.revision_shortlog()
Db.revision_get_random()
Db.extid_cols
Db.extid_get_from_extid_list()
Db.extid_get_from_swhid_list()
Db.extid_delete_for_target()
Db.release_missing_from_list()
Db.release_add_cols
Db.release_get_cols
Db.release_get_from_list()
Db.release_get_range()
Db.release_get_random()
Db.snapshot_exists()
Db.snapshot_missing_from_list()
Db.snapshot_add()
Db.snapshot_count_cols
Db.snapshot_count_branches()
Db.snapshot_get_cols
Db.snapshot_get_by_id()
Db.snapshot_branch_get_by_name()
Db.snapshot_get_id_range()
Db.snapshot_get_random()
Db.origin_visit_add()
Db.origin_visit_status_cols
Db.origin_visit_status_add()
Db.origin_visit_cols
Db.origin_visit_add_with_id()
Db.origin_visit_get_cols
Db.origin_visit_select_cols
Db.origin_visit_status_select_cols
Db.origin_visit_status_get_latest()
Db.origin_visit_status_get_range()
Db.origin_visit_get_range()
Db.origin_visit_status_get_all_in_range()
Db.origin_visit_get()
Db.origin_visit_find_by_date()
Db.origin_visit_exists()
Db.origin_visit_get_latest()
Db.origin_visit_get_random()
Db.origin_add()
Db.origin_cols
Db.origin_get_by_url()
Db.origin_get_by_sha1()
Db.origin_id_get_by_url()
Db.origin_get_range_cols
Db.origin_get_range()
Db.origin_search()
Db.origin_count()
Db.origin_snapshot_get_all()
Db.object_find_by_sha1_git_cols
Db.object_find_by_sha1_git()
Db.stat_counters()
Db.raw_extrinsic_metadata_get_cols
Db.raw_extrinsic_metadata_add()
Db.raw_extrinsic_metadata_get()
Db.raw_extrinsic_metadata_get_by_ids()
Db.raw_extrinsic_metadata_get_authorities()
Db.metadata_fetcher_cols
Db.metadata_fetcher_add()
Db.metadata_fetcher_get()
Db.metadata_fetcher_get_id()
Db.metadata_authority_cols
Db.metadata_authority_add()
Db.metadata_authority_get()
Db.metadata_authority_get_id()
Db.object_references_get()
Db.object_references_add()
Db.object_references_create_partition()
Db.object_references_drop_partition()
Db.object_references_list_partitions()
Db.object_delete()
- swh.storage.postgresql.storage module
EMPTY_SNAPSHOT_ID
VALIDATION_EXCEPTIONS
convert_validation_exceptions()
db_transaction_generator()
db_transaction()
Storage
Storage.current_version
Storage.get_db()
Storage.put_db()
Storage.db()
Storage.get_flavor()
Storage.flavor
Storage.check_config()
Storage.content_add()
Storage.content_update()
Storage.content_add_metadata()
Storage.content_get_data()
Storage.content_get_partition()
Storage.content_get()
Storage.content_missing()
Storage.content_missing_per_sha1()
Storage.content_missing_per_sha1_git()
Storage.content_find()
Storage.content_get_random()
Storage.skipped_content_add()
Storage.skipped_content_find()
Storage.skipped_content_missing()
Storage.directory_add()
Storage.directory_missing()
Storage.directory_ls()
Storage.directory_entry_get_by_path()
Storage.directory_get_random()
Storage.directory_get_entries()
Storage.directory_get_raw_manifest()
Storage.directory_get_id_partition()
Storage.revision_add()
Storage.revision_missing()
Storage.revision_get_partition()
Storage.revision_get()
Storage.revision_log()
Storage.revision_shortlog()
Storage.revision_get_random()
Storage.extid_get_from_extid()
Storage.extid_get_from_target()
Storage.extid_add()
Storage.release_add()
Storage.release_missing()
Storage.release_get()
Storage.release_get_partition()
Storage.release_get_random()
Storage.snapshot_add()
Storage.snapshot_missing()
Storage.snapshot_get()
Storage.snapshot_get_id_partition()
Storage.snapshot_count_branches()
Storage.snapshot_get_branches()
Storage.snapshot_get_random()
Storage.snapshot_branch_get_by_name()
Storage.origin_visit_add()
Storage.origin_visit_status_add()
Storage.origin_visit_status_get_latest()
Storage.origin_visit_get()
Storage.origin_visit_get_with_statuses()
Storage.origin_visit_find_by_date()
Storage.origin_visit_get_by()
Storage.origin_visit_get_latest()
Storage.origin_visit_status_get()
Storage.origin_visit_status_get_random()
Storage.origin_get()
Storage.origin_get_by_sha1()
Storage.origin_get_range()
Storage.origin_list()
Storage.origin_search()
Storage.origin_count()
Storage.origin_snapshot_get_all()
Storage.origin_add()
Storage.object_find_by_sha1_git()
Storage.stat_counters()
Storage.refresh_stat_counters()
Storage.raw_extrinsic_metadata_add()
Storage.raw_extrinsic_metadata_get()
Storage.raw_extrinsic_metadata_get_by_ids()
Storage.metadata_fetcher_add()
Storage.metadata_fetcher_get()
Storage.raw_extrinsic_metadata_get_authorities()
Storage.metadata_authority_add()
Storage.metadata_authority_get()
Storage.object_find_recent_references()
Storage.object_references_add()
Storage.clear_buffers()
Storage.flush()
Storage.object_delete()
Storage.extid_delete_for_target()
Storage.object_references_create_partition()
Storage.object_references_drop_partition()
Storage.object_references_list_partitions()