|
Arachne 1.0
Arachne - the perpetual stitcher of Wikidata entities.
|
Classes | |
| class | database_error |
| class | statement |
| class | database |
| class | transaction |
| struct | file_identity |
| struct | file_snapshot |
| class | file_descriptor |
| struct | parsed_batch |
| struct | local_id_allocation_state |
| struct | concept_relation_row |
| struct | hint_label |
| struct | hint_candidate_support |
| struct | hint_components |
Typedefs | |
| using | json = nlohmann::json |
| using | record_validator |
| using | hint_pair = std::pair<std::string, std::string> |
| using | hint_candidate_map |
Enumerations | |
| enum class | value_kind { string , integer , number , boolean , object , array , string , integer , number , boolean , object , array } |
| enum class | value_kind { string , integer , number , boolean , object , array , string , integer , number , boolean , object , array } |
Functions | |
| std::string | sqlite_message (sqlite3 *const value, const std::string_view operation) |
| void | require_current_product_structure (sqlite3 *const sql) |
| bool | same_identity (const file_identity &left, const file_identity &right) |
| file_identity | identity_of (const struct stat &state) |
| file_snapshot | read_batch_file (const fs::path &path) |
| bool | snapshot_still_current (const file_snapshot &snapshot) |
| std::string | pointer_escape (const std::string_view value) |
| void | add_issue (parsed_batch &batch, const std::string_view code, const std::string_view path, const std::string_view message, const json *const value=nullptr) |
| bool | valid_batch_id (const std::string_view value) |
| bool | valid_local_id (const std::string_view value) |
| bool | valid_canonical_id (const std::string_view value, const std::string_view family) |
| bool | looks_like_canonical_entity_id (const std::string_view value) |
| bool | valid_slug (const std::string_view value) |
| void | check_keys (parsed_batch &batch, const json &object, const std::string &path, const std::set< std::string, std::less<> > &allowed, const std::set< std::string, std::less<> > &required={}) |
| bool | is_kind (const json &value, const value_kind kind) |
| void | require_kind (parsed_batch &batch, const json &object, const std::string &key, const std::string &path, const value_kind kind) |
| void | require_nonempty_string (parsed_batch &batch, const json &object, const std::string &key, const std::string &path) |
| void | require_enum (parsed_batch &batch, const json &object, const std::string &key, const std::string &path, const std::set< std::string, std::less<> > &allowed) |
| void | require_integer_range (parsed_batch &batch, const json &object, const std::string &key, const std::string &path, const std::int64_t minimum, const std::int64_t maximum) |
| void | require_number_range (parsed_batch &batch, const json &object, const std::string &key, const std::string &path, const double minimum, const double maximum) |
| std::string | indexed_path (const std::string_view parent, const std::size_t index) |
| void | set_application_context (parsed_batch &batch, const std::string_view path, const json &value) |
| void | validate_local_id (parsed_batch &batch, const json &record, const std::string &path, std::unordered_map< std::string, std::string > &locals, const std::string_view family) |
| void | validate_entity_reference_shape (parsed_batch &batch, const json &record, const std::string &key, const std::string &path) |
| void | validate_integer_or_local_reference_shape (parsed_batch &batch, const json &record, const std::string &key, const std::string &path) |
| void | validate_create_agent (parsed_batch &batch, const json &value, const std::string &path, std::unordered_map< std::string, std::string > &locals) |
| void | validate_create_work (parsed_batch &batch, const json &value, const std::string &path, std::unordered_map< std::string, std::string > &locals) |
| void | validate_create_concept (parsed_batch &batch, const json &value, const std::string &path, std::unordered_map< std::string, std::string > &locals) |
| void | validate_create_manifestation (parsed_batch &batch, const json &value, const std::string &path, std::unordered_map< std::string, std::string > &locals) |
| void | validate_create_name (parsed_batch &batch, const json &value, const std::string &path) |
| void | validate_create_external_id (parsed_batch &batch, const json &value, const std::string &path) |
| void | validate_create_source (parsed_batch &batch, const json &value, const std::string &path, std::unordered_map< std::string, std::string > &locals) |
| void | validate_create_evidence (parsed_batch &batch, const json &value, const std::string &path, std::unordered_map< std::string, std::string > &locals) |
| void | validate_create_credit (parsed_batch &batch, const json &value, const std::string &path) |
| void | validate_create_measurement (parsed_batch &batch, const json &value, const std::string &path) |
| void | validate_create_financial (parsed_batch &batch, const json &value, const std::string &path) |
| void | validate_evidence_list (parsed_batch &batch, const json &value, const std::string &path) |
| void | validate_create_work_concept (parsed_batch &batch, const json &value, const std::string &path, std::unordered_map< std::string, std::string > &locals) |
| void | validate_create_concept_relation (parsed_batch &batch, const json &value, const std::string &path, std::unordered_map< std::string, std::string > &locals) |
| void | validate_create_parent_guide (parsed_batch &batch, const json &value, const std::string &path, std::unordered_map< std::string, std::string > &locals) |
| template<typename Validator> | |
| void | validate_array (parsed_batch &batch, const json &parent, const std::string &key, const std::string &parent_path, Validator &&validator) |
| void | validate_update_record (parsed_batch &batch, const json &value, const std::string &path, const std::string_view family, const std::map< std::string, value_kind, std::less<> > &mutable_fields, const std::set< std::string, std::less<> > &required_fields, const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > &enum_fields, const bool allow_empty=false, const bool integer_id=false) |
| void | validate_delete_object (parsed_batch &batch, const json &update, const std::string &path) |
| void | validate_merge_record (parsed_batch &batch, const json &value, const std::string &path, const std::string_view family, const std::map< std::string, value_kind, std::less<> > &mutable_fields, const std::set< std::string, std::less<> > &required_fields, const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > &enum_fields, std::map< std::string, std::string, std::less<> > &merged_entities) |
| void | validate_document_shape (parsed_batch &batch) |
| json | parse_strict_json (const std::string &bytes) |
| bool | row_exists (sqlite3 *const database_value, const std::string_view table, const std::string_view column, const json &id) |
| std::string | entity_family (sqlite3 *const database_value, const std::string &id) |
| std::string | ref_string (const json &record, const char *key) |
| void | prevalidate_entity_reference (parsed_batch &batch, sqlite3 *const database_value, const json &record, const std::string &key, const std::string &path, const std::string_view expected_family={}) |
| void | prevalidate_integer_or_local_reference (parsed_batch &batch, sqlite3 *const database_value, const json &record, const std::string &key, const std::string &path, const std::string_view local_family, const std::string_view table) |
| void | prevalidate_semantics (parsed_batch &batch, database &product) |
| std::int64_t | maximum_row_id (sqlite3 *const sql, const std::string_view table) |
| std::int64_t | maximum_entity_suffix (sqlite3 *const sql, const std::string_view prefix) |
| std::string | formatted_entity_id (const std::string_view family, const std::int64_t sequence) |
| local_id_allocation_state | initial_allocation_state (database &product) |
| std::int64_t | next_sequence (std::int64_t &sequence, const std::string_view description) |
| void | allocate_local_references (parsed_batch &batch, local_id_allocation_state &sequences) |
| std::string | resolve_entity (const parsed_batch &batch, const json &value) |
| std::int64_t | resolve_row_reference (const std::unordered_map< std::string, std::int64_t > &locals, const json &value) |
| void | bind_optional (statement &insert, const int index, const json &row, const char *key, const bool serialize=false) |
| void | create_entities (parsed_batch &batch, sqlite3 *const sql) |
| void | create_names_and_identifiers (parsed_batch &batch, sqlite3 *const sql) |
| void | create_sources_and_evidence (parsed_batch &batch, sqlite3 *const sql) |
| void | create_facts (parsed_batch &batch, sqlite3 *const sql) |
| void | attach_evidence (const parsed_batch &batch, sqlite3 *const sql, const std::string_view table, const std::int64_t assertion_id, const json &evidence) |
| void | create_assertions (parsed_batch &batch, sqlite3 *const sql) |
| std::string | sql_column (const std::string_view field) |
| void | update_row (sqlite3 *const sql, const std::string_view table, const std::string_view id_column, const json &operation) |
| void | apply_updates (parsed_batch &batch, sqlite3 *const sql) |
| void | apply_deletes (parsed_batch &batch, sqlite3 *const sql) |
| std::set< std::string, std::less<> > | string_set (const json &array) |
| void | resolve_scalar_fields (sqlite3 *const sql, const std::string_view table, const std::string_view id_column, const std::string &target, const std::vector< std::string > &members, const json &operation, const std::vector< std::string > &columns, const std::set< std::string, std::less<> > &required) |
| void | reject_preferred_name_conflict (sqlite3 *const sql, const std::string &target, const std::vector< std::string > &members) |
| bool | query_exists (sqlite3 *const sql, const std::string_view query_text, const std::string &target, const std::string &member) |
| void | merge_entity_scoped_rows (sqlite3 *const sql, const std::string &target, const std::string &member) |
| void | merge_credits (sqlite3 *const sql, const std::string_view id_column, const std::string &target, const std::string &member) |
| void | transfer_assertion_evidence (sqlite3 *const sql, const std::string_view evidence_table, const std::int64_t keeper, const std::int64_t duplicate) |
| void | merge_work_concepts (sqlite3 *const sql, const std::string_view id_column, const std::string &target, const std::string &member) |
| void | merge_parent_guides (sqlite3 *const sql, const std::string_view id_column, const std::string &target, const std::string &member) |
| void | merge_financial_facts (sqlite3 *const sql, const std::string &target, const std::string &member) |
| void | merge_concept_relations (sqlite3 *const sql, const std::string &target, const std::string &member) |
| void | delete_merged_entity (sqlite3 *const sql, const std::string &member) |
| std::vector< std::string > | merge_members (const json &operation) |
| void | mark_merge_neighborhood (parsed_batch &batch, sqlite3 *const sql, const std::string_view family, const std::string &target, const std::vector< std::string > &members) |
| void | merge_agents (parsed_batch &batch, sqlite3 *const sql, const json &operation) |
| void | merge_works (parsed_batch &batch, sqlite3 *const sql, const json &operation) |
| void | merge_concepts (parsed_batch &batch, sqlite3 *const sql, const json &operation) |
| void | apply_merges (parsed_batch &batch, sqlite3 *const sql) |
| std::string | normalized_label (const std::string_view value) |
| std::vector< hint_label > | all_hint_labels (sqlite3 *const sql) |
| std::optional< hint_label > | hint_label_for_id (sqlite3 *const sql, const std::string &id) |
| std::set< std::string, std::less<> > | trigrams (const std::string_view value) |
| double | trigram_score (const std::string_view left, const std::string_view right) |
| bool | is_trigram_block (const std::string_view block_type) |
| std::size_t | maximum_hint_block_size (const std::string_view block_type) |
| std::string | contextual_block_key (const std::string_view context, const std::string_view value) |
| std::string | trigram_support_key (const std::string_view block_key) |
| void | record_hint_candidate (hint_candidate_map &candidates, const std::string &first, const std::string &second, const std::string_view block_type, const std::string_view block_key) |
| std::set< hint_pair > | reviewable_blocked_pairs (const hint_candidate_map &candidates) |
| void | insert_hint_block (statement &block, statement &member, const hint_label &label, const std::string_view block_type, const std::string &block_key) |
| void | insert_hint_blocks (sqlite3 *const sql, const hint_label &label) |
| void | refresh_hint_blocks (sqlite3 *const sql, const std::set< std::string, std::less<> > &affected, std::map< std::string, hint_label, std::less<> > &label_cache) |
| std::set< hint_pair > | incrementally_blocked_pairs (sqlite3 *const sql, const std::set< std::string, std::less<> > &affected) |
| std::set< hint_pair > | all_blocked_pairs (sqlite3 *const sql) |
| void | bootstrap_hint_blocks_if_empty (sqlite3 *const sql) |
| std::set< std::string, std::less<> > | query_value_set (sqlite3 *const sql, const std::string_view query_text, const std::string &id) |
| double | jaccard (const std::set< std::string, std::less<> > &left, const std::set< std::string, std::less<> > &right) |
| std::size_t | intersection_count (const std::set< std::string, std::less<> > &left, const std::set< std::string, std::less<> > &right) |
| double | maximum_text_similarity (const std::vector< std::string > &left, const std::vector< std::string > &right) |
| double | alternate_text_similarity (const hint_label &left, const hint_label &right) |
| hint_components | calculate_hint_components (sqlite3 *const sql, const hint_label &left, const hint_label &right) |
| void | upsert_hint (sqlite3 *const sql, const hint_label &first, const hint_label &second) |
| void | regenerate_incremental_hints (sqlite3 *const sql, const std::set< std::string, std::less<> > &affected) |
| std::size_t | rebuild_hints (database &product) |
| bool | batch_was_applied (sqlite3 *const sql, const std::string &batch_id) |
| void | require_clean_foreign_keys (sqlite3 *const sql) |
| void | record_issues (database &product, const std::string &batch_id, const std::vector< inbox_issue > &issues) |
| void | apply_one_batch (parsed_batch &batch, database &product) |
| bool | real_directory (const fs::path &path) |
| void | require_real_directory (const fs::path &path, const std::string_view description) |
| void | require_real_database_file (const fs::path &path) |
| std::string | read_schema (const fs::path &path) |
| void | ensure_product_database (const fs::path &repository_root, const fs::path &path) |
| std::vector< file_snapshot > | snapshot_inbox (const fs::path &inbox) |
| parsed_batch | parse_batch (file_snapshot snapshot) |
| void | reject_duplicate_pending_ids (std::vector< parsed_batch > &batches, sqlite3 *const sql) |
| void | remove_unchanged (const file_snapshot &snapshot) |
| void | move_rejected_unchanged (const file_snapshot &snapshot, const fs::path &rejected) |
| void | record_and_move_rejected (parsed_batch &batch, database &product, const fs::path &rejected) |
| inbox_batch_report | report_for (const parsed_batch &batch, const inbox_batch_status status) |
| inbox_result | run_inbox (const fs::path &repository_root, const bool apply) |
Variables | |
| constexpr std::uintmax_t | maximum_batch_bytes = 32U * 1024U * 1024U |
| constexpr int | current_product_schema = 5 |
| const std::set< std::string, std::less<> > | agent_types |
| const std::set< std::string, std::less<> > | media |
| const std::set< std::string, std::less<> > | date_precisions |
| const std::set< std::string, std::less<> > | concept_types |
| const std::set< std::string, std::less<> > | manifestation_types |
| const std::set< std::string, std::less<> > | name_types |
| const std::set< std::string, std::less<> > | source_types |
| const std::set< std::string, std::less<> > | stances |
| const std::set< std::string, std::less<> > | credit_roles |
| const std::set< std::string, std::less<> > | importance_values |
| const std::set< std::string, std::less<> > | measurement_types |
| const std::set< std::string, std::less<> > | measurement_units |
| const std::set< std::string, std::less<> > | concept_relation_types |
| const std::set< std::string, std::less<> > | work_concept_types |
| const std::set< std::string, std::less<> > | historical_roles |
| const std::set< std::string, std::less<> > | guide_categories |
| const std::set< std::string, std::less<> > | spoiler_levels |
| const std::map< std::string, value_kind, std::less<> > | agent_mutable |
| const std::map< std::string, value_kind, std::less<> > | agent_merge_mutable |
| const std::map< std::string, value_kind, std::less<> > | work_mutable |
| const std::map< std::string, value_kind, std::less<> > | concept_mutable |
| const std::map< std::string, value_kind, std::less<> > | manifestation_mutable |
| const std::map< std::string, value_kind, std::less<> > | source_mutable |
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > | agent_update_enums |
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > | agent_merge_enums |
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > | work_update_enums |
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > | concept_update_enums |
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > | manifestation_update_enums |
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > | source_update_enums |
| typedef std::map< hint_pair, hint_candidate_support, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::hint_candidate_map |
| typedef std::pair< std::string, std::string > arachne::penelope::anonymous_namespace{inbox.cpp}::hint_pair = std::pair<std::string, std::string> |
| using arachne::penelope::anonymous_namespace{inbox.cpp}::json = nlohmann::json |
| typedef void(* arachne::penelope::anonymous_namespace{inbox.cpp}::record_validator)( parsed_batch &, const json &, const std::string &) |
|
strong |
| Enumerator | |
|---|---|
| string | |
| integer | |
| number | |
| boolean | |
| object | |
| array | |
| string | |
| integer | |
| number | |
| boolean | |
| object | |
| array | |
Definition at line 709 of file inbox.cpp.
|
strong |
| void arachne::penelope::anonymous_namespace{inbox.cpp}::add_issue | ( | parsed_batch & | batch, |
| const std::string_view | code, | ||
| const std::string_view | path, | ||
| const std::string_view | message, | ||
| const json *const | value = nullptr ) |
Definition at line 587 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::parsed_batch::batch_id.
|
nodiscard |
Definition at line 5006 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::text().

|
nodiscard |
Definition at line 4469 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::family, arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::fingerprint, arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::id, arachne::penelope::anonymous_namespace{inbox.cpp}::statement::integer(), arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::text().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::allocate_local_references | ( | parsed_batch & | batch, |
| local_id_allocation_state & | sequences ) |
Definition at line 2968 of file inbox.cpp.
|
nodiscard |
Definition at line 5143 of file inbox.cpp.
Referenced by calculate_hint_components().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::apply_deletes | ( | parsed_batch & | batch, |
| sqlite3 *const | sql ) |
Definition at line 3630 of file inbox.cpp.
Referenced by apply_one_batch().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::apply_merges | ( | parsed_batch & | batch, |
| sqlite3 *const | sql ) |
Definition at line 4362 of file inbox.cpp.
Referenced by apply_one_batch().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::apply_one_batch | ( | parsed_batch & | batch, |
| database & | product ) |
Definition at line 5629 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::parsed_batch::already_applied, arachne::penelope::anonymous_namespace{inbox.cpp}::parsed_batch::application_value_json, apply_deletes(), apply_merges(), apply_updates(), arachne::penelope::anonymous_namespace{inbox.cpp}::parsed_batch::batch_id, batch_was_applied(), arachne::penelope::anonymous_namespace{inbox.cpp}::transaction::commit(), create_assertions(), create_entities(), create_facts(), create_names_and_identifiers(), create_sources_and_evidence(), arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute(), arachne::penelope::anonymous_namespace{inbox.cpp}::database::native(), prevalidate_semantics(), require_clean_foreign_keys(), and arachne::penelope::anonymous_namespace{inbox.cpp}::transaction::transaction().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::apply_updates | ( | parsed_batch & | batch, |
| sqlite3 *const | sql ) |
Definition at line 3584 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute().
Referenced by apply_one_batch().


| void arachne::penelope::anonymous_namespace{inbox.cpp}::attach_evidence | ( | const parsed_batch & | batch, |
| sqlite3 *const | sql, | ||
| const std::string_view | table, | ||
| const std::int64_t | assertion_id, | ||
| const json & | evidence ) |
Definition at line 3398 of file inbox.cpp.
|
nodiscard |
Definition at line 5577 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step().
Referenced by apply_one_batch().


| void arachne::penelope::anonymous_namespace{inbox.cpp}::bind_optional | ( | statement & | insert, |
| const int | index, | ||
| const json & | row, | ||
| const char * | key, | ||
| const bool | serialize = false ) |
Definition at line 3059 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::bind_null().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::bootstrap_hint_blocks_if_empty | ( | sqlite3 *const | sql | ) |
Definition at line 5056 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step().
Referenced by regenerate_incremental_hints().


|
nodiscard |
Definition at line 5168 of file inbox.cpp.
References alternate_text_similarity(), arachne::penelope::anonymous_namespace{inbox.cpp}::hint_components::context, arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::family, arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::fingerprint, arachne::penelope::anonymous_namespace{inbox.cpp}::hint_components::graph, arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::id, arachne::penelope::anonymous_namespace{inbox.cpp}::statement::integer(), arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::text().
Referenced by upsert_hint().


| void arachne::penelope::anonymous_namespace{inbox.cpp}::check_keys | ( | parsed_batch & | batch, |
| const json & | object, | ||
| const std::string & | path, | ||
| const std::set< std::string, std::less<> > & | allowed, | ||
| const std::set< std::string, std::less<> > & | required = {} ) |
Definition at line 680 of file inbox.cpp.
|
nodiscard |
| void arachne::penelope::anonymous_namespace{inbox.cpp}::create_assertions | ( | parsed_batch & | batch, |
| sqlite3 *const | sql ) |
Definition at line 3418 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::bind(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute().
Referenced by apply_one_batch().


| void arachne::penelope::anonymous_namespace{inbox.cpp}::create_entities | ( | parsed_batch & | batch, |
| sqlite3 *const | sql ) |
Definition at line 3073 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute().
Referenced by apply_one_batch().


| void arachne::penelope::anonymous_namespace{inbox.cpp}::create_facts | ( | parsed_batch & | batch, |
| sqlite3 *const | sql ) |
Definition at line 3310 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::bind(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute().
Referenced by apply_one_batch().


| void arachne::penelope::anonymous_namespace{inbox.cpp}::create_names_and_identifiers | ( | parsed_batch & | batch, |
| sqlite3 *const | sql ) |
Definition at line 3184 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::bind(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute().
Referenced by apply_one_batch().


| void arachne::penelope::anonymous_namespace{inbox.cpp}::create_sources_and_evidence | ( | parsed_batch & | batch, |
| sqlite3 *const | sql ) |
Definition at line 3242 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::bind(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute().
Referenced by apply_one_batch().


| void arachne::penelope::anonymous_namespace{inbox.cpp}::delete_merged_entity | ( | sqlite3 *const | sql, |
| const std::string & | member ) |
Definition at line 4182 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::ensure_product_database | ( | const fs::path & | repository_root, |
| const fs::path & | path ) |
Definition at line 5734 of file inbox.cpp.
References require_real_database_file().
Referenced by run_inbox().


|
nodiscard |
Definition at line 2334 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::text().

|
nodiscard |
Definition at line 2904 of file inbox.cpp.
|
nodiscard |
Definition at line 4554 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::family, arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::fingerprint, arachne::penelope::anonymous_namespace{inbox.cpp}::statement::integer(), arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::text().

|
nodiscard |
Definition at line 458 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::file_identity::device, arachne::penelope::anonymous_namespace{inbox.cpp}::file_identity::inode, arachne::penelope::anonymous_namespace{inbox.cpp}::file_identity::modified, and arachne::penelope::anonymous_namespace{inbox.cpp}::file_identity::size.
Referenced by read_batch_file(), and snapshot_still_current().

|
nodiscard |
Definition at line 4958 of file inbox.cpp.
|
nodiscard |
|
nodiscard |
Definition at line 2935 of file inbox.cpp.
Referenced by run_inbox().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::insert_hint_block | ( | statement & | block, |
| statement & | member, | ||
| const hint_label & | label, | ||
| const std::string_view | block_type, | ||
| const std::string & | block_key ) |
Definition at line 4786 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::bind(), arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute(), arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::family, arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::id, arachne::penelope::anonymous_namespace{inbox.cpp}::statement::integer(), arachne::penelope::anonymous_namespace{inbox.cpp}::statement::native(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::insert_hint_blocks | ( | sqlite3 *const | sql, |
| const hint_label & | label ) |
Definition at line 4810 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::family, arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::id, arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::text().

|
nodiscard |
|
nodiscard |
Definition at line 718 of file inbox.cpp.
References array, boolean, integer, number, object, and string.
|
nodiscard |
|
nodiscard |
Definition at line 5089 of file inbox.cpp.
|
nodiscard |
Definition at line 648 of file inbox.cpp.
Referenced by validate_local_id().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::mark_merge_neighborhood | ( | parsed_batch & | batch, |
| sqlite3 *const | sql, | ||
| const std::string_view | family, | ||
| const std::string & | target, | ||
| const std::vector< std::string > & | members ) |
Definition at line 4202 of file inbox.cpp.
|
nodiscard |
Definition at line 2886 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::bind(), arachne::penelope::anonymous_namespace{inbox.cpp}::statement::integer(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step().

|
nodiscard |
Definition at line 4705 of file inbox.cpp.
|
nodiscard |
Definition at line 2874 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::integer(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step().

|
nodiscard |
Definition at line 5117 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::merge_agents | ( | parsed_batch & | batch, |
| sqlite3 *const | sql, | ||
| const json & | operation ) |
Definition at line 4242 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::merge_concept_relations | ( | sqlite3 *const | sql, |
| const std::string & | target, | ||
| const std::string & | member ) |
Definition at line 4107 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::integer(), arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::text().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::merge_concepts | ( | parsed_batch & | batch, |
| sqlite3 *const | sql, | ||
| const json & | operation ) |
Definition at line 4298 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::merge_credits | ( | sqlite3 *const | sql, |
| const std::string_view | id_column, | ||
| const std::string & | target, | ||
| const std::string & | member ) |
Definition at line 3923 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute(), and query_exists().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::merge_entity_scoped_rows | ( | sqlite3 *const | sql, |
| const std::string & | target, | ||
| const std::string & | member ) |
Definition at line 3861 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::merge_financial_facts | ( | sqlite3 *const | sql, |
| const std::string & | target, | ||
| const std::string & | member ) |
Definition at line 4064 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute().

|
nodiscard |
| void arachne::penelope::anonymous_namespace{inbox.cpp}::merge_parent_guides | ( | sqlite3 *const | sql, |
| const std::string_view | id_column, | ||
| const std::string & | target, | ||
| const std::string & | member ) |
Definition at line 4018 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute(), arachne::penelope::anonymous_namespace{inbox.cpp}::statement::integer(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::merge_work_concepts | ( | sqlite3 *const | sql, |
| const std::string_view | id_column, | ||
| const std::string & | target, | ||
| const std::string & | member ) |
Definition at line 3975 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute(), arachne::penelope::anonymous_namespace{inbox.cpp}::statement::integer(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::merge_works | ( | parsed_batch & | batch, |
| sqlite3 *const | sql, | ||
| const json & | operation ) |
Definition at line 4268 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::move_rejected_unchanged | ( | const file_snapshot & | snapshot, |
| const fs::path & | rejected ) |
Definition at line 5910 of file inbox.cpp.
References real_directory(), and snapshot_still_current().

|
nodiscard |
|
nodiscard |
Definition at line 4396 of file inbox.cpp.
|
nodiscard |
Definition at line 5835 of file inbox.cpp.
References arachnespace::contracts::arachne_batch, arachne::penelope::anonymous_namespace{inbox.cpp}::parsed_batch::structurally_valid, and validate_document_shape().

|
nodiscard |
Definition at line 2283 of file inbox.cpp.
|
nodiscard |
Definition at line 555 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::prevalidate_entity_reference | ( | parsed_batch & | batch, |
| sqlite3 *const | database_value, | ||
| const json & | record, | ||
| const std::string & | key, | ||
| const std::string & | path, | ||
| const std::string_view | expected_family = {} ) |
Definition at line 2356 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::prevalidate_integer_or_local_reference | ( | parsed_batch & | batch, |
| sqlite3 *const | database_value, | ||
| const json & | record, | ||
| const std::string & | key, | ||
| const std::string & | path, | ||
| const std::string_view | local_family, | ||
| const std::string_view | table ) |
Definition at line 2401 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::prevalidate_semantics | ( | parsed_batch & | batch, |
| database & | product ) |
Definition at line 2434 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::is_null(), arachne::penelope::anonymous_namespace{inbox.cpp}::database::native(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step().
Referenced by apply_one_batch().


|
nodiscard |
Definition at line 3851 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step().
Referenced by merge_credits().


|
nodiscard |
Definition at line 5076 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::text().

|
nodiscard |
Definition at line 488 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::file_descriptor::file_descriptor(), arachne::penelope::anonymous_namespace{inbox.cpp}::file_descriptor::get(), identity_of(), maximum_batch_bytes, and same_identity().

|
nodiscard |
|
nodiscard |
Definition at line 5690 of file inbox.cpp.
Referenced by move_rejected_unchanged(), and require_real_directory().

|
nodiscard |
Definition at line 5543 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::transaction::commit(), arachne::penelope::anonymous_namespace{inbox.cpp}::statement::integer(), arachne::penelope::anonymous_namespace{inbox.cpp}::database::native(), arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step(), and arachne::penelope::anonymous_namespace{inbox.cpp}::transaction::transaction().
Referenced by arachne::penelope::rebuild_product_merge_hints().


| void arachne::penelope::anonymous_namespace{inbox.cpp}::record_and_move_rejected | ( | parsed_batch & | batch, |
| database & | product, | ||
| const fs::path & | rejected ) |
Definition at line 5967 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::parsed_batch::batch_id.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::record_hint_candidate | ( | hint_candidate_map & | candidates, |
| const std::string & | first, | ||
| const std::string & | second, | ||
| const std::string_view | block_type, | ||
| const std::string_view | block_key ) |
Definition at line 4747 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::record_issues | ( | database & | product, |
| const std::string & | batch_id, | ||
| const std::vector< inbox_issue > & | issues ) |
Definition at line 5596 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::transaction::commit(), arachne::penelope::anonymous_namespace{inbox.cpp}::database::native(), and arachne::penelope::anonymous_namespace{inbox.cpp}::transaction::transaction().

|
nodiscard |
| void arachne::penelope::anonymous_namespace{inbox.cpp}::refresh_hint_blocks | ( | sqlite3 *const | sql, |
| const std::set< std::string, std::less<> > & | affected, | ||
| std::map< std::string, hint_label, std::less<> > & | label_cache ) |
Definition at line 4936 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::regenerate_incremental_hints | ( | sqlite3 *const | sql, |
| const std::set< std::string, std::less<> > & | affected ) |
Definition at line 5499 of file inbox.cpp.
References bootstrap_hint_blocks_if_empty().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::reject_duplicate_pending_ids | ( | std::vector< parsed_batch > & | batches, |
| sqlite3 *const | sql ) |
Definition at line 5871 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::reject_preferred_name_conflict | ( | sqlite3 *const | sql, |
| const std::string & | target, | ||
| const std::vector< std::string > & | members ) |
Definition at line 3827 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::text().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::remove_unchanged | ( | const file_snapshot & | snapshot | ) |
Definition at line 5894 of file inbox.cpp.
References snapshot_still_current().

|
nodiscard |
| void arachne::penelope::anonymous_namespace{inbox.cpp}::require_clean_foreign_keys | ( | sqlite3 *const | sql | ) |
Definition at line 5587 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::text().
Referenced by apply_one_batch().


| void arachne::penelope::anonymous_namespace{inbox.cpp}::require_current_product_structure | ( | sqlite3 *const | sql | ) |
Definition at line 184 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::text().
Referenced by arachne::penelope::anonymous_namespace{inbox.cpp}::database::database().


| void arachne::penelope::anonymous_namespace{inbox.cpp}::require_enum | ( | parsed_batch & | batch, |
| const json & | object, | ||
| const std::string & | key, | ||
| const std::string & | path, | ||
| const std::set< std::string, std::less<> > & | allowed ) |
Definition at line 767 of file inbox.cpp.
References string.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::require_integer_range | ( | parsed_batch & | batch, |
| const json & | object, | ||
| const std::string & | key, | ||
| const std::string & | path, | ||
| const std::int64_t | minimum, | ||
| const std::int64_t | maximum ) |
Definition at line 783 of file inbox.cpp.
References integer.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::require_kind | ( | parsed_batch & | batch, |
| const json & | object, | ||
| const std::string & | key, | ||
| const std::string & | path, | ||
| const value_kind | kind ) |
Definition at line 736 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::require_nonempty_string | ( | parsed_batch & | batch, |
| const json & | object, | ||
| const std::string & | key, | ||
| const std::string & | path ) |
| void arachne::penelope::anonymous_namespace{inbox.cpp}::require_number_range | ( | parsed_batch & | batch, |
| const json & | object, | ||
| const std::string & | key, | ||
| const std::string & | path, | ||
| const double | minimum, | ||
| const double | maximum ) |
Definition at line 811 of file inbox.cpp.
References number.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::require_real_database_file | ( | const fs::path & | path | ) |
Definition at line 5707 of file inbox.cpp.
Referenced by ensure_product_database(), arachne::penelope::rebuild_product_merge_hints(), and run_inbox().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::require_real_directory | ( | const fs::path & | path, |
| const std::string_view | description ) |
Definition at line 5696 of file inbox.cpp.
References real_directory().

|
nodiscard |
|
nodiscard |
| void arachne::penelope::anonymous_namespace{inbox.cpp}::resolve_scalar_fields | ( | sqlite3 *const | sql, |
| const std::string_view | table, | ||
| const std::string_view | id_column, | ||
| const std::string & | target, | ||
| const std::vector< std::string > & | members, | ||
| const json & | operation, | ||
| const std::vector< std::string > & | columns, | ||
| const std::set< std::string, std::less<> > & | required ) |
Definition at line 3754 of file inbox.cpp.
|
nodiscard |
Definition at line 4768 of file inbox.cpp.
|
nodiscard |
Definition at line 2323 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::step().

|
nodiscard |
Definition at line 6002 of file inbox.cpp.
References arachne::penelope::inbox_result::applied, arachne::penelope::anonymous_namespace{inbox.cpp}::database::database(), ensure_product_database(), initial_allocation_state(), arachne::penelope::anonymous_namespace{inbox.cpp}::database::native(), arachne::penelope::inbox_result::ok, arachne::penelope::inbox_result::rejected_count, and require_real_database_file().
Referenced by arachne::penelope::apply_product_inbox(), and arachne::penelope::check_product_inbox().


|
nodiscard |
Definition at line 449 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::file_identity::device, arachne::penelope::anonymous_namespace{inbox.cpp}::file_identity::inode, arachne::penelope::anonymous_namespace{inbox.cpp}::file_identity::modified, and arachne::penelope::anonymous_namespace{inbox.cpp}::file_identity::size.
Referenced by read_batch_file(), and snapshot_still_current().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::set_application_context | ( | parsed_batch & | batch, |
| const std::string_view | path, | ||
| const json & | value ) |
Definition at line 902 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::parsed_batch::application_value_json.
|
nodiscard |
Definition at line 5787 of file inbox.cpp.
|
nodiscard |
Definition at line 548 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::file_snapshot::identity, identity_of(), and same_identity().
Referenced by move_rejected_unchanged(), and remove_unchanged().


|
nodiscard |
|
nodiscard |
|
nodiscard |
| void arachne::penelope::anonymous_namespace{inbox.cpp}::transfer_assertion_evidence | ( | sqlite3 *const | sql, |
| const std::string_view | evidence_table, | ||
| const std::int64_t | keeper, | ||
| const std::int64_t | duplicate ) |
Definition at line 3960 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::bind(), and arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute().

|
nodiscard |
Definition at line 4671 of file inbox.cpp.
|
nodiscard |
|
nodiscard |
Definition at line 4628 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::update_row | ( | sqlite3 *const | sql, |
| const std::string_view | table, | ||
| const std::string_view | id_column, | ||
| const json & | operation ) |
Definition at line 3545 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::upsert_hint | ( | sqlite3 *const | sql, |
| const hint_label & | first, | ||
| const hint_label & | second ) |
Definition at line 5393 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::statement::bind(), calculate_hint_components(), arachne::penelope::anonymous_namespace{inbox.cpp}::hint_components::context, arachne::penelope::anonymous_namespace{inbox.cpp}::statement::execute(), arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::family, arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::fingerprint, arachne::penelope::anonymous_namespace{inbox.cpp}::hint_components::graph, and arachne::penelope::anonymous_namespace{inbox.cpp}::hint_label::id.

|
nodiscard |
Definition at line 603 of file inbox.cpp.
|
nodiscard |
Definition at line 624 of file inbox.cpp.
|
nodiscard |
Definition at line 613 of file inbox.cpp.
|
nodiscard |
Definition at line 657 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_array | ( | parsed_batch & | batch, |
| const json & | parent, | ||
| const std::string & | key, | ||
| const std::string & | parent_path, | ||
| Validator && | validator ) |
Definition at line 1521 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_agent | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path, | ||
| std::unordered_map< std::string, std::string > & | locals ) |
Definition at line 987 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_concept | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path, | ||
| std::unordered_map< std::string, std::string > & | locals ) |
Definition at line 1064 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_concept_relation | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path, | ||
| std::unordered_map< std::string, std::string > & | locals ) |
Definition at line 1442 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_credit | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path ) |
Definition at line 1235 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_evidence | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path, | ||
| std::unordered_map< std::string, std::string > & | locals ) |
Definition at line 1192 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_external_id | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path ) |
Definition at line 1138 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_financial | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path ) |
Definition at line 1285 of file inbox.cpp.
References boolean.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_manifestation | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path, | ||
| std::unordered_map< std::string, std::string > & | locals ) |
Definition at line 1088 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_measurement | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path ) |
Definition at line 1260 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_name | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path ) |
Definition at line 1115 of file inbox.cpp.
References boolean.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_parent_guide | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path, | ||
| std::unordered_map< std::string, std::string > & | locals ) |
Definition at line 1486 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_source | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path, | ||
| std::unordered_map< std::string, std::string > & | locals ) |
Definition at line 1157 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_work | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path, | ||
| std::unordered_map< std::string, std::string > & | locals ) |
Definition at line 1005 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_create_work_concept | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path, | ||
| std::unordered_map< std::string, std::string > & | locals ) |
Definition at line 1412 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_delete_object | ( | parsed_batch & | batch, |
| const json & | update, | ||
| const std::string & | path ) |
Definition at line 1779 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_document_shape | ( | parsed_batch & | batch | ) |
Definition at line 1995 of file inbox.cpp.
References arachne::penelope::anonymous_namespace{inbox.cpp}::parsed_batch::batch_id, and string.
Referenced by parse_batch().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_entity_reference_shape | ( | parsed_batch & | batch, |
| const json & | record, | ||
| const std::string & | key, | ||
| const std::string & | path ) |
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_evidence_list | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path ) |
Definition at line 1344 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_integer_or_local_reference_shape | ( | parsed_batch & | batch, |
| const json & | record, | ||
| const std::string & | key, | ||
| const std::string & | path ) |
Definition at line 948 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_local_id | ( | parsed_batch & | batch, |
| const json & | record, | ||
| const std::string & | path, | ||
| std::unordered_map< std::string, std::string > & | locals, | ||
| const std::string_view | family ) |
Definition at line 909 of file inbox.cpp.
References looks_like_canonical_entity_id().

| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_merge_record | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path, | ||
| const std::string_view | family, | ||
| const std::map< std::string, value_kind, std::less<> > & | mutable_fields, | ||
| const std::set< std::string, std::less<> > & | required_fields, | ||
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > & | enum_fields, | ||
| std::map< std::string, std::string, std::less<> > & | merged_entities ) |
Definition at line 1892 of file inbox.cpp.
| void arachne::penelope::anonymous_namespace{inbox.cpp}::validate_update_record | ( | parsed_batch & | batch, |
| const json & | value, | ||
| const std::string & | path, | ||
| const std::string_view | family, | ||
| const std::map< std::string, value_kind, std::less<> > & | mutable_fields, | ||
| const std::set< std::string, std::less<> > & | required_fields, | ||
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > & | enum_fields, | ||
| const bool | allow_empty = false, | ||
| const bool | integer_id = false ) |
Definition at line 1542 of file inbox.cpp.
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::agent_merge_enums |
| const std::map< std::string, value_kind, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::agent_merge_mutable |
Definition at line 1705 of file inbox.cpp.
| const std::map< std::string, value_kind, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::agent_mutable |
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::agent_types |
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::agent_update_enums |
| const std::map< std::string, value_kind, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::concept_mutable |
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::concept_relation_types |
Definition at line 875 of file inbox.cpp.
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::concept_types |
Definition at line 841 of file inbox.cpp.
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::concept_update_enums |
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::credit_roles |
Definition at line 860 of file inbox.cpp.
|
constexpr |
Definition at line 49 of file inbox.cpp.
Referenced by arachne::penelope::anonymous_namespace{inbox.cpp}::database::database().
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::date_precisions |
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::guide_categories |
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::historical_roles |
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::importance_values |
| const std::map< std::string, value_kind, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::manifestation_mutable |
Definition at line 1727 of file inbox.cpp.
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::manifestation_types |
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::manifestation_update_enums |
|
constexpr |
Definition at line 48 of file inbox.cpp.
Referenced by read_batch_file().
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::measurement_types |
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::measurement_units |
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::media |
Definition at line 832 of file inbox.cpp.
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::name_types |
| const std::map< std::string, value_kind, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::source_mutable |
Definition at line 1735 of file inbox.cpp.
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::source_types |
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::source_update_enums |
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::spoiler_levels |
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::stances |
| const std::set< std::string, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::work_concept_types |
Definition at line 880 of file inbox.cpp.
| const std::map< std::string, value_kind, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::work_mutable |
Definition at line 1710 of file inbox.cpp.
| const std::map< std::string, std::set< std::string, std::less<> >, std::less<> > arachne::penelope::anonymous_namespace{inbox.cpp}::work_update_enums |