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