Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
Loading...
Searching...
No Matches
redis_backend.h File Reference

Redis database backend plugin implementation. More...

#include "../core/backend_base.h"
#include "../core/backend_registry.h"
#include <memory>
#include <string>
#include <atomic>
#include <mutex>
Include dependency graph for redis_backend.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  database::backends::redis_backend
 Redis implementation of database_backend interface. More...
 

Namespaces

namespace  database
 
namespace  database::backends
 

Detailed Description

Redis database backend plugin implementation.

This file implements the database_backend interface for Redis, directly using hiredis without depending on the legacy redis_manager.

Issue #286: Update backends to use database_backend only Issue #328: Refactored to use backend_base template

  • Implements database_backend interface via backend_base CRTP
  • Registers with backend_registry for runtime selection
  • Eliminates dependency on database_base-derived classes
  • Uses Result-based error handling pattern

Definition in file redis_backend.h.