Class RecordsMapImpl

Inheritance Relationships

Base Type

Class Documentation

class RecordsMapImpl : public RecordsBase

Public Types

using KeyT = std::tuple<std::uint64_t, uint64_t, uint64_t>
using DataT = std::multimap<KeyT, Record>
using Iterator = DataT::iterator
using ConstIterator = DataT::const_iterator
using ReverseIterator = DataT::reverse_iterator
using ConstReverseIterator = DataT::const_reverse_iterator

Public Functions

explicit RecordsMapImpl(const std::vector<std::string> key_columns)
explicit RecordsMapImpl(const RecordsMapImpl &records, const std::vector<std::string> key_columns)
RecordsMapImpl(std::vector<Record> records, const std::vector<std::string> columns, const std::vector<std::string> key_columns)
explicit RecordsMapImpl(const std::vector<std::string> columns, const std::vector<std::string> key_columns)
RecordsMapImpl(const RecordsMapImpl &records)
~RecordsMapImpl() override
virtual std::vector<Record> get_data() const override
virtual void append(const Record &record) override
virtual std::unique_ptr<RecordsBase> clone() const override
virtual void filter_if(const std::function<bool(Record)> &f)
virtual void sort(std::string key, std::string sub_key = "", bool ascending = true)
virtual void sort_column_order(bool ascending = true, bool put_none_at_top = true)
virtual void bind_drop_as_delay()
virtual std::size_t size() const override
virtual std::unique_ptr<IteratorBase> begin() override
virtual std::unique_ptr<ConstIteratorBase> cbegin() const override
virtual std::unique_ptr<IteratorBase> rbegin() override
virtual std::unique_ptr<ConstIteratorBase> crbegin() const override