42 #include <QtCore/QJsonArray> 125 std::optional<SQLite::Statement>& query_meta,
126 std::optional<SQLite::Statement>& query_hull,
127 std::optional<SQLite::Statement>& query_match);
137 const String& parent_table);
140 SQLite::Statement& query,
157 std::unique_ptr<SQLite::Database>
db_;
void handleQueryMetaInfo_(SQLite::Statement &query, MetaInfoInterface &info, Key parent_id)
Helper class for loading .oms files (SQLite format)
Definition: OMSFileLoad.h:58
~OMSFileLoad()
Destructor.
A more convenient string class.
Definition: String.h:58
void exportToJSON(std::ostream &output)
Export database contents in JSON format, write to stream.
void load(IdentificationData &id_data)
Load data from database and populate an IdentificationData object.
LogType
Possible log types.
Definition: ProgressLogger.h:68
OMSFileStore::Key Key
Type used for database keys.
Definition: OMSFileLoad.h:61
A container for features.
Definition: FeatureMap.h:98
void loadInputFiles_(IdentificationData &id_data)
void loadParentGroupSets_(IdentificationData &id_data)
int64_t Key
< Type used for database keys
Definition: OMSFileStore.h:81
std::unordered_map< Key, IdentificationData::ScoreTypeRef > score_type_refs_
Definition: OMSFileLoad.h:164
IdentificationDataInternal::ParentMatches ParentMatches
Definition: IdentificationData.h:164
Definition: IdentificationData.h:112
void loadObservationMatches_(IdentificationData &id_data)
std::unordered_map< Key, IdentificationData::ProcessingStepRef > processing_step_refs_
Definition: OMSFileLoad.h:167
std::unordered_map< Key, IdentificationData::ObservationMatchRef > observation_match_refs_
Definition: OMSFileLoad.h:172
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
bool prepareQueryAppliedProcessingStep_(SQLite::Statement &query, const String &parent_table)
int version_number_
schema version number
Definition: OMSFileLoad.h:159
void loadProcessingSoftwares_(IdentificationData &id_data)
std::unordered_map< Key, IdentificationData::IdentifiedMolecule > identified_molecule_vars_
Definition: OMSFileLoad.h:171
void loadAdducts_(IdentificationData &id_data)
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:58
void loadScoreTypes_(IdentificationData &id_data)
void handleQueryAppliedProcessingStep_(SQLite::Statement &query, IdentificationDataInternal::ScoredProcessingResult &result, Key parent_id)
std::unordered_map< Key, IdentificationData::ObservationRef > observation_refs_
Definition: OMSFileLoad.h:169
QString subquery_score_
query for score types used in JSON export
Definition: OMSFileLoad.h:161
void createView_(const String &name, const String &select)
void handleQueryPeakAnnotation_(SQLite::Statement &query, IdentificationData::ObservationMatch &match, Key parent_id)
void loadDataProcessing_(FeatureMap &features)
std::unordered_map< Key, IdentificationData::SearchParamRef > search_param_refs_
Definition: OMSFileLoad.h:168
OMSFileLoad(const String &filename, LogType log_type)
Constructor.
static std::map< QString, QString > export_order_by_
Definition: OMSFileLoad.h:177
void loadIdentifiedSequences_(IdentificationData &id_data)
Feature loadFeatureAndSubordinates_(SQLite::Statement &query_feat, std::optional< SQLite::Statement > &query_meta, std::optional< SQLite::Statement > &query_hull, std::optional< SQLite::Statement > &query_match)
std::unordered_map< Key, IdentificationData::ProcessingSoftwareRef > processing_software_refs_
Definition: OMSFileLoad.h:166
void loadMapMetaData_(FeatureMap &features)
An LC-MS feature.
Definition: Feature.h:70
void handleQueryParentMatch_(SQLite::Statement &query, IdentificationData::ParentMatches &parent_matches, Key molecule_id)
void loadFeatures_(FeatureMap &features)
QJsonArray exportTableToJSON_(const QString &table, const QString &order_by)
Definition: OMSFileLoad.h:44
void loadObservations_(IdentificationData &id_data)
std::unordered_map< Key, IdentificationData::AdductRef > adduct_refs_
Definition: OMSFileLoad.h:173
Representation of a search hit (e.g. peptide-spectrum match).
Definition: ObservationMatch.h:73
void loadParentSequences_(IdentificationData &id_data)
static DataValue makeDataValue_(const SQLite::Statement &query)
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:52
std::unique_ptr< SQLite::Database > db_
The database connection (read)
Definition: OMSFileLoad.h:157
void loadDBSearchParams_(IdentificationData &id_data)
void loadProcessingSteps_(IdentificationData &id_data)
Base class for ID data with scores and processing steps (and meta info)
Definition: ScoredProcessingResult.h:44
std::unordered_map< Key, IdentificationData::ParentSequenceRef > parent_sequence_refs_
Definition: OMSFileLoad.h:170
std::unordered_map< Key, IdentificationData::InputFileRef > input_file_refs_
Definition: OMSFileLoad.h:165
bool prepareQueryMetaInfo_(SQLite::Statement &query, const String &parent_table)
void loadIdentifiedCompounds_(IdentificationData &id_data)