|
void | storeVersionAndDate_ () |
|
void | storeScoreTypes_ (const IdentificationData &id_data) |
|
void | storeInputFiles_ (const IdentificationData &id_data) |
|
void | storeProcessingSoftwares_ (const IdentificationData &id_data) |
|
void | storeDBSearchParams_ (const IdentificationData &id_data) |
|
void | storeProcessingSteps_ (const IdentificationData &id_data) |
|
void | storeObservations_ (const IdentificationData &id_data) |
|
void | storeParentSequences_ (const IdentificationData &id_data) |
|
void | storeParentGroupSets_ (const IdentificationData &id_data) |
|
void | storeIdentifiedCompounds_ (const IdentificationData &id_data) |
|
void | storeIdentifiedSequences_ (const IdentificationData &id_data) |
|
void | storeAdducts_ (const IdentificationData &id_data) |
|
void | storeObservationMatches_ (const IdentificationData &id_data) |
|
void | storeFeatures_ (const FeatureMap &features) |
|
void | createTable_ (const String &name, const String &definition, bool may_exist=false) |
|
void | createTableMoleculeType_ () |
|
void | createTableDataValue_DataType_ () |
|
void | createTableCVTerm_ () |
|
Key | storeCVTerm_ (const CVTerm &cv_term) |
|
void | createTableMetaInfo_ (const String &parent_table, const String &key_column="id") |
|
void | storeMetaInfo_ (const MetaInfoInterface &info, const String &parent_table, Key parent_id) |
|
void | createTableAppliedProcessingStep_ (const String &parent_table) |
|
void | storeAppliedProcessingStep_ (const IdentificationData::AppliedProcessingStep &step, Size step_order, const String &parent_table, Key parent_id) |
|
void | createTableIdentifiedMolecule_ () |
|
Key | getDatabaseKey_ (const IdentificationData::IdentifiedMolecule &molecule_var) |
|
void | createTableParentMatches_ () |
|
void | storeParentMatches_ (const IdentificationData::ParentMatches &matches, Key molecule_id) |
|
template<class MetaInfoInterfaceContainer , class DBKeyTable > |
void | storeMetaInfos_ (const MetaInfoInterfaceContainer &container, const String &parent_table, const DBKeyTable &db_keys) |
|
template<class ScoredProcessingResultContainer , class DBKeyTable > |
void | storeScoredProcessingResults_ (const ScoredProcessingResultContainer &container, const String &parent_table, const DBKeyTable &db_keys) |
|
void | storeFeature_ (const FeatureMap &features) |
|
void | storeFeatureAndSubordinates_ (const Feature &feature, int &feature_id, int parent_id) |
|
template<class FeatureContainer , class Predicate > |
bool | anyFeaturePredicate_ (const FeatureContainer &features, const Predicate &pred) |
| check whether a predicate is true for any feature (or subordinate thereof) in a container More...
|
|
void | storeMapMetaData_ (const FeatureMap &features) |
|
void | storeDataProcessing_ (const FeatureMap &features) |
|
|
std::unique_ptr< SQLite::Database > | db_ |
| The database connection (read/write) More...
|
|
std::map< std::string, std::unique_ptr< SQLite::Statement > > | prepared_queries_ |
| prepared queries for inserting data into different tables More...
|
|
std::map< const IdentificationData::ScoreType *, Key > | score_type_keys_ |
|
std::map< const IdentificationData::InputFile *, Key > | input_file_keys_ |
|
std::map< const IdentificationData::ProcessingSoftware *, Key > | processing_software_keys_ |
|
std::map< const IdentificationData::ProcessingStep *, Key > | processing_step_keys_ |
|
std::map< const IdentificationData::DBSearchParam *, Key > | search_param_keys_ |
|
std::map< const IdentificationData::Observation *, Key > | observation_keys_ |
|
std::map< const IdentificationData::ParentSequence *, Key > | parent_sequence_keys_ |
|
std::map< const IdentificationData::ParentGroupSet *, Key > | parent_grouping_keys_ |
|
std::map< const IdentificationData::IdentifiedCompound *, Key > | identified_compound_keys_ |
|
std::map< const IdentificationData::IdentifiedPeptide *, Key > | identified_peptide_keys_ |
|
std::map< const IdentificationData::IdentifiedOligo *, Key > | identified_oligo_keys_ |
|
std::map< const AdductInfo *, Key > | adduct_keys_ |
|
std::map< const IdentificationData::ObservationMatch *, Key > | observation_match_keys_ |
|
std::map< const DataProcessing *, Key > | feat_processing_keys_ |
|
Helper class for storing .oms files (SQLite format)
This class encapsulates the SQLite database in a .oms file and allows to write data to it.