myTinySQL v0.2.0-2-g5000098
A tiny SQL interpreter over fixed-width text files
Loading...
Searching...
No Matches
Classes | Variables
Catalog.hpp File Reference

The table definitions read from SYSTEM_TABLE: tables, their columns and positions. More...

#include <cstddef>
#include <filesystem>
#include <optional>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  tinysql::Column
 One column of a table: the characters it occupies in every fixed-width row. More...
 
struct  tinysql::TableSchema
 The definition of one table: its name, its columns, and the length of a row. More...
 
class  tinysql::Catalog
 All table definitions, read from the SYSTEM_TABLE file (one 80-character line per column). More...
 

Variables

constexpr std::string_view tinysql::kCatalogTable = "SYSTEM_TABLE"
 Name of the catalogue table: it describes every table, itself included, and is its own data file.
 

Detailed Description

The table definitions read from SYSTEM_TABLE: tables, their columns and positions.

Definition in file Catalog.hpp.

Variable Documentation

◆ kCatalogTable

constexpr std::string_view tinysql::kCatalogTable = "SYSTEM_TABLE"
inlineconstexpr

Name of the catalogue table: it describes every table, itself included, and is its own data file.

Definition at line 16 of file Catalog.hpp.