|
| | MOCK_METHOD (int, SetValue,(const std::string &key, const std::string &value),(override)) |
| |
| | MOCK_METHOD (std::string, GetValue,(const std::string &key),(override)) |
| |
| | MOCK_METHOD (std::string, GetAllValues,(),(override)) |
| |
| | MOCK_METHOD (std::string, GetRange,(const std::string &, const std::string &),(override)) |
| |
| | MOCK_METHOD (int, SetValueWithVersion,(const std::string &key, const std::string &value, int version),(override)) |
| |
| | MOCK_METHOD (ValueType, GetValueWithVersion,(const std::string &key, int version),(override)) |
| |
| | MOCK_METHOD (ItemsType, GetAllItems,(),(override)) |
| |
| | MOCK_METHOD (ItemsType, GetKeyRange,(const std::string &, const std::string &),(override)) |
| |
| | MOCK_METHOD (ValuesType, GetHistory,(const std::string &, int, int),(override)) |
| |
| | MOCK_METHOD (ValuesType, GetTopHistory,(const std::string &, int),(override)) |
| |
| | MOCK_METHOD (bool, Flush,(),(override)) |
| |
| | Storage ()=default |
| |
| virtual | ~Storage ()=default |
| |
| virtual int | SetValue (const std::string &key, const std::string &value)=0 |
| |
| virtual std::string | GetValue (const std::string &key)=0 |
| |
| virtual std::string | GetAllValues ()=0 |
| |
| virtual std::string | GetRange (const std::string &min_key, const std::string &max_key)=0 |
| |
| virtual int | SetValueWithVersion (const std::string &key, const std::string &value, int version)=0 |
| |
| virtual std::pair< std::string, int > | GetValueWithVersion (const std::string &key, int version)=0 |
| |
| virtual std::map< std::string, std::pair< std::string, int > > | GetAllItems ()=0 |
| |
| virtual std::map< std::string, std::pair< std::string, int > > | GetKeyRange (const std::string &min_key, const std::string &max_key)=0 |
| |
| virtual std::vector< std::pair< std::string, int > > | GetHistory (const std::string &key, int min_version, int max_version)=0 |
| |
| virtual std::vector< std::pair< std::string, int > > | GetTopHistory (const std::string &key, int number)=0 |
| |
| virtual bool | Flush () |
| |
Definition at line 27 of file mock_storage.h.