|
rad
4.0.0
|
Public Member Functions | |
| virtual | ~OldbAdapterDummy () |
| virtual void | Connect () |
| OldbAdapterDummy () | |
| void | Connect () |
| virtual void | Connect () |
Public Member Functions inherited from rad::cii::OldbAdapter | |
| OldbAdapter () | |
| OldbAdapter (const std::chrono::seconds conn_timeout) | |
| OldbAdapter (const OldbAdapter &)=default | |
| virtual | ~OldbAdapter () |
| OldbAdapter & | operator= (const OldbAdapter &)=default |
| std::shared_ptr< elt::oldb::CiiOldb > | GetOldbInstance () |
| void | SetOldbInstance (std::shared_ptr< elt::oldb::CiiOldb > oldb) |
| void | ConfigureConnTimeout (const std::chrono::seconds conn_timeout) |
| void | ClearDataPoints () |
| std::shared_ptr< elt::oldb::CiiOldbTypedDataBase > | GetDataPoint (const std::string &key) |
| template<typename T > | |
| void | Get (const std::string &key, T &value) |
| template<typename T > | |
| bool | TryGet (const std::string &key, T &value) noexcept |
| template<typename T > | |
| void | Get (const std::string &key, std::vector< T > &value) |
| template<typename T > | |
| bool | TryGet (const std::string &key, std::vector< T > &value) noexcept |
| template<typename T > | |
| void | Set (const std::string &key, const T &value, const std::int64_t timestamp=elt::oldb::CiiOldbUtil::Now()) |
| template<typename T > | |
| bool | TrySet (const std::string &key, const T &value, const std::int64_t timestamp=elt::oldb::CiiOldbUtil::Now()) noexcept |
| template<typename T > | |
| void | Set (const std::string &key, const std::vector< T > &value, const std::int64_t timestamp=elt::oldb::CiiOldbUtil::Now()) |
| template<typename T > | |
| bool | TrySet (const std::string &key, const std::vector< T > &value, const std::int64_t timestamp=elt::oldb::CiiOldbUtil::Now()) noexcept |
| template<typename T > | |
| void | Set (const std::string &key, elt::mal::shared_vector< const T > &value, const std::int64_t timestamp=elt::oldb::CiiOldbUtil::Now()) |
| template<typename T > | |
| bool | TrySet (const std::string &key, elt::mal::shared_vector< const T > &value, const std::int64_t timestamp=elt::oldb::CiiOldbUtil::Now()) noexcept |
| template<typename T > | |
| void | Get (const std::string &key, T &value, std::shared_ptr< elt::oldb::CiiOldbDataPoint< T >> &dp) |
| template<typename T > | |
| void | Get (const std::string &key, std::vector< T > &values, std::shared_ptr< elt::oldb::CiiOldbDataPoint< std::vector< T >>> &dp) |
| template<typename T > | |
| void | Set (const std::string &key, const T &value, std::shared_ptr< elt::oldb::CiiOldbDataPoint< T >> &dp, const std::int64_t timestamp=elt::oldb::CiiOldbUtil::Now()) |
| template<typename T > | |
| void | Set (const std::string &key, const std::vector< T > &values, const bool is_matrix, std::shared_ptr< elt::oldb::CiiOldbDataPoint< std::vector< T >>> &dp, const std::int64_t timestamp=elt::oldb::CiiOldbUtil::Now()) |
| template<typename T > | |
| void | Set (const std::string &key, elt::mal::shared_vector< const T > &values, const bool is_matrix, std::shared_ptr< elt::oldb::CiiOldbDataPoint< std::vector< T >>> &dp, const std::int64_t timestamp=elt::oldb::CiiOldbUtil::Now()) |
| void | Del (const std::string &key) |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Obtains an OLDB instance.
This method is virtual to allow for creating, for example, dummy adapters that do not really connect (as may be needed in Unit Tests).
Note that with template methods it is not easy to create interface classes.
Reimplemented from rad::cii::OldbAdapter.
|
inlinevirtual |
Obtains an OLDB instance.
This method is virtual to allow for creating, for example, dummy adapters that do not really connect (as may be needed in Unit Tests).
Note that with template methods it is not easy to create interface classes.
Reimplemented from rad::cii::OldbAdapter.
|
inlinevirtual |
Obtains an OLDB instance.
This method is virtual to allow for creating, for example, dummy adapters that do not really connect (as may be needed in Unit Tests).
Note that with template methods it is not easy to create interface classes.
Reimplemented from rad::cii::OldbAdapter.