41 #include <QtCore/QJsonArray> 43 #include <QStringList> 123 std::optional<QSqlQuery>& query_meta,
124 std::optional<QSqlQuery>& query_hull,
125 std::optional<QSqlQuery>& query_match);
135 const String& parent_table);
150 void createView_(
const QString& name,
const QString& select);
static DataValue makeDataValue_(const QSqlQuery &query)
Helper class for loading .oms files (SQLite format)
Definition: OMSFileLoad.h:56
~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 handleQueryParentMatch_(QSqlQuery &query, IdentificationData::ParentMatches &parent_matches, Key molecule_id)
void load(IdentificationData &id_data)
Load data from database and populate an IdentificationData object.
bool prepareQueryAppliedProcessingStep_(QSqlQuery &query, const String &parent_table)
LogType
Possible log types.
Definition: ProgressLogger.h:68
void handleQueryMetaInfo_(QSqlQuery &query, MetaInfoInterface &info, Key parent_id)
void createView_(const QString &name, const QString &select)
A container for features.
Definition: FeatureMap.h:98
void loadInputFiles_(IdentificationData &id_data)
QString db_name_
Definition: OMSFileLoad.h:155
void loadParentGroupSets_(IdentificationData &id_data)
std::unordered_map< Key, IdentificationData::ScoreTypeRef > score_type_refs_
Definition: OMSFileLoad.h:162
IdentificationDataInternal::ParentMatches ParentMatches
Definition: IdentificationData.h:146
Representation of spectrum identification results and associated data.
Definition: IdentificationData.h:94
void loadObservationMatches_(IdentificationData &id_data)
std::unordered_map< Key, IdentificationData::ProcessingStepRef > processing_step_refs_
Definition: OMSFileLoad.h:165
std::unordered_map< Key, IdentificationData::ObservationMatchRef > observation_match_refs_
Definition: OMSFileLoad.h:170
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
int version_number_
schema version number
Definition: OMSFileLoad.h:157
void loadProcessingSoftwares_(IdentificationData &id_data)
std::unordered_map< Key, IdentificationData::IdentifiedMolecule > identified_molecule_vars_
Definition: OMSFileLoad.h:169
void loadAdducts_(IdentificationData &id_data)
bool prepareQueryMetaInfo_(QSqlQuery &query, const String &parent_table)
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:58
void loadScoreTypes_(IdentificationData &id_data)
std::unordered_map< Key, IdentificationData::ObservationRef > observation_refs_
Definition: OMSFileLoad.h:167
QString subquery_score_
query for score types used in JSON export
Definition: OMSFileLoad.h:159
void loadDataProcessing_(FeatureMap &features)
std::unordered_map< Key, IdentificationData::SearchParamRef > search_param_refs_
Definition: OMSFileLoad.h:166
OMSFileLoad(const String &filename, LogType log_type)
Constructor.
static std::map< QString, QString > export_order_by_
Definition: OMSFileLoad.h:175
void loadIdentifiedSequences_(IdentificationData &id_data)
qint64 Key
Type used for database keys.
Definition: OMSFileLoad.h:59
std::unordered_map< Key, IdentificationData::ProcessingSoftwareRef > processing_software_refs_
Definition: OMSFileLoad.h:164
void loadMapMetaData_(FeatureMap &features)
An LC-MS feature.
Definition: Feature.h:70
void loadFeatures_(FeatureMap &features)
QJsonArray exportTableToJSON_(const QString &table, const QString &order_by)
void handleQueryPeakAnnotation_(QSqlQuery &query, IdentificationData::ObservationMatch &match, Key parent_id)
void loadObservations_(IdentificationData &id_data)
std::unordered_map< Key, IdentificationData::AdductRef > adduct_refs_
Definition: OMSFileLoad.h:171
Representation of a search hit (e.g. peptide-spectrum match).
Definition: ObservationMatch.h:73
void loadParentSequences_(IdentificationData &id_data)
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:52
void loadDBSearchParams_(IdentificationData &id_data)
void handleQueryAppliedProcessingStep_(QSqlQuery &query, IdentificationDataInternal::ScoredProcessingResult &result, Key parent_id)
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:168
std::unordered_map< Key, IdentificationData::InputFileRef > input_file_refs_
Definition: OMSFileLoad.h:163
void loadIdentifiedCompounds_(IdentificationData &id_data)
Feature loadFeatureAndSubordinates_(QSqlQuery &query_feat, std::optional< QSqlQuery > &query_meta, std::optional< QSqlQuery > &query_hull, std::optional< QSqlQuery > &query_match)