Skip to content
GitHub Actions edited this page Jan 2, 2026 · 1 revision

base_entity.cpp

Stand: 5. Dezember 2025
Version: 1.0.0
Kategorie: Src


Path: src/storage/base_entity.cpp

Purpose: Base classes and helpers for entities persisted in storage layer.

Public functions / symbols:

  • : primary_key_(pk) {
  • if (cache_valid_ && field_cache_) {
  • if (format_ == Format::JSON) {
  • if constexpr (std::is_same_v<T, std::string>) {
  • if constexpr (std::is_same_v<T, int64_t>) {
  • if constexpr (std::is_same_v<T, double>) {
  • if constexpr (std::is_same_v<T, bool>) {
  • if constexpr (std::is_same_v<T, std::vector<float>>) {
  • ``
  • if constexpr (std::is_same_v<T, std::monostate>) {
  • if (!cache_valid_ || !field_cache_) {
  • for (const auto& [name, value] : *field_cache_) {
  • if (c == '{' || c == '[') {
  • rebuildBlob();
  • invalidateCache();
  • ensureCache();
  • std::string key_str(key);
  • utils::Serialization::Decoder decoder(blob_);
  • BaseEntity entity(pk);
  • return BaseEntity(pk, fields);
  • return BaseEntity(pk, blob, fmt);
  • return getFieldAsString(field_name);
  • return getFieldAsVector(field_name);

ThemisDB Dokumentation

Version: 1.3.0 | Stand: Dezember 2025


📋 Schnellstart


🏗️ Architektur


🗄️ Basismodell


💾 Storage & MVCC


📇 Indexe & Statistiken


🔍 Query & AQL


💰 Caching


📦 Content Pipeline


🔎 Suche


⚡ Performance & Benchmarks


🏢 Enterprise Features


✅ Qualitätssicherung


🧮 Vektor & GNN


🌍 Geo Features


🛡️ Sicherheit & Governance

Authentication

Schlüsselverwaltung

Verschlüsselung

TLS & Certificates

PKI & Signatures

PII Detection

Vault & HSM

Audit & Compliance

Security Audits

Gap Analysis


🚀 Deployment & Betrieb

Docker

Observability

Change Data Capture

Operations


💻 Entwicklung

API Implementations

Changefeed

Security Development

Development Overviews


📄 Publikation & Ablage


🔧 Admin-Tools


🔌 APIs


📚 Client SDKs


📊 Implementierungs-Zusammenfassungen


📅 Planung & Reports


📖 Dokumentation


📝 Release Notes


📖 Styleguide & Glossar


🗺️ Roadmap & Changelog


💾 Source Code Documentation

Main Programs

Source Code Module


🗄️ Archive


🤝 Community & Support


Vollständige Dokumentation: https://makr-code.github.io/ThemisDB/

Clone this wiki locally