mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
m::Database::index_entry_type Struct Reference

#include <Schema.hpp>

Collaboration diagram for m::Database::index_entry_type:
[legend]

Public Member Functions

 index_entry_type (ThreadSafePooledString name, const Table &table, const Attribute &attribute, std::unique_ptr< idx::IndexBase > index)
 

Data Fields

ThreadSafePooledString name
 the name of the index
 
const Tabletable
 the table of the index
 
const Attributeattribute
 the indexed attribute
 
std::unique_ptr< idx::IndexBaseindex
 the actual index
 
bool is_valid
 indicates if the index should be used to answer queries
 

Detailed Description

Definition at line 873 of file Schema.hpp.

Constructor & Destructor Documentation

◆ index_entry_type()

m::Database::index_entry_type::index_entry_type ( ThreadSafePooledString  name,
const Table table,
const Attribute attribute,
std::unique_ptr< idx::IndexBase index 
)
inline

Definition at line 881 of file Schema.hpp.

Field Documentation

◆ attribute

const Attribute& m::Database::index_entry_type::attribute

the indexed attribute

Definition at line 877 of file Schema.hpp.

◆ index

std::unique_ptr<idx::IndexBase> m::Database::index_entry_type::index

the actual index

Definition at line 878 of file Schema.hpp.

◆ is_valid

bool m::Database::index_entry_type::is_valid

indicates if the index should be used to answer queries

Definition at line 879 of file Schema.hpp.

◆ name

ThreadSafePooledString m::Database::index_entry_type::name

the name of the index

Definition at line 875 of file Schema.hpp.

◆ table

const Table& m::Database::index_entry_type::table

the table of the index

Definition at line 876 of file Schema.hpp.


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