dasmig-core 1.2.0
Shared random engine, distributions and data tiers for the dasmig generator libraries
Loading...
Searching...
No Matches
dasmig::core::table_schema Struct Reference

The columns of a table. More...

#include <table.hpp>

Public Attributes

std::vector< std::string > key {}
 Columns that identify a row, together. Must not be empty.
 
std::vector< std::string > required {}
 Columns every layer must have (the key columns are always required).
 
std::vector< std::string > optional {}
 

Detailed Description

The columns of a table.

Definition at line 47 of file table.hpp.

Member Data Documentation

◆ key

std::vector<std::string> dasmig::core::table_schema::key {}

Columns that identify a row, together. Must not be empty.

Definition at line 50 of file table.hpp.

◆ optional

std::vector<std::string> dasmig::core::table_schema::optional {}

Other columns the library reads. Any column not listed here, in required or in key, other than disabled, is reported as unknown.

Definition at line 55 of file table.hpp.

◆ required

std::vector<std::string> dasmig::core::table_schema::required {}

Columns every layer must have (the key columns are always required).

Definition at line 52 of file table.hpp.


The documentation for this struct was generated from the following file: