SwatDB
Public Member Functions | Private Attributes | List of all members
Schema Class Reference

#include <schema.h>

Public Member Functions

 Schema ()
 Constructor.
 
 ~Schema ()
 Destructor.
 

Private Attributes

std::vector< FieldIdfield_ids
 
std::vector< FieldTypefield_types
 
std::vector< std::string > field_names
 
std::vector< std::uint32_t > field_len_max
 
std::vector< FieldIdkey_fields
 

Detailed Description

SwatDB Schema Class. NOT FULLY IMPLEMENTED. This is a class to represent the schema for a relation. Provides structure to Data of a Record, allowing for various access methods.

Member Data Documentation

◆ field_ids

std::vector<FieldId> Schema::field_ids
private

std::vector of FieldId of each field in the Schema.

◆ field_len_max

std::vector<std::uint32_t> Schema::field_len_max
private

std::vector of the maximum length of each field in the Schema.

◆ field_names

std::vector<std::string> Schema::field_names
private

std::vector of field name of each field in the Schema.

◆ field_types

std::vector<FieldType> Schema::field_types
private

std::vector of FieldType of each field in the Schema.

◆ key_fields

std::vector<FieldId> Schema::key_fields
private

std::vector of FileId of fields that are keys.


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