![]() |
OpenMS
|
Buffered OSW table rows ready for insertion through prepared statements. More...
#include <OpenMS/ANALYSIS/OPENSWATH/OpenSwathOSWWriter.h>
Public Member Functions | |
| void | reserve (Size row_count) |
Reserve storage for roughly row_count rows per OSW table. | |
| void | reserve (Size feature_row_count, Size transition_row_count) |
| Reserve storage for expected feature-level and transition-level rows. | |
| void | append (OSWData &&rhs) |
Append rows from rhs, moving row storage where possible. | |
| bool | empty () const |
| Returns true if no rows were buffered. | |
| Size | rowCount () const |
| Returns the total number of buffered rows across all OSW tables. | |
| UInt64 | estimateMemoryUsage () const |
| Estimate the memory retained by this buffer in bytes. | |
Public Attributes | |
| std::vector< FeatureRow > | feature_rows |
| std::vector< FeatureMS1Row > | feature_ms1_rows |
| std::vector< FeatureMS2Row > | feature_ms2_rows |
| std::vector< FeaturePrecursorRow > | feature_precursor_rows |
| std::vector< FeatureTransitionRow > | feature_transition_rows |
Buffered OSW table rows ready for insertion through prepared statements.
| void append | ( | OSWData && | rhs | ) |
Append rows from rhs, moving row storage where possible.
| bool empty | ( | ) | const |
Returns true if no rows were buffered.
| UInt64 estimateMemoryUsage | ( | ) | const |
Estimate the memory retained by this buffer in bytes.
Reserve storage for expected feature-level and transition-level rows.
| void reserve | ( | Size | row_count | ) |
Reserve storage for roughly row_count rows per OSW table.
| Size rowCount | ( | ) | const |
Returns the total number of buffered rows across all OSW tables.
| std::vector<FeatureMS1Row> feature_ms1_rows |
| std::vector<FeatureMS2Row> feature_ms2_rows |
| std::vector<FeaturePrecursorRow> feature_precursor_rows |
| std::vector<FeatureRow> feature_rows |
| std::vector<FeatureTransitionRow> feature_transition_rows |