mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions
m::storage::RowLayoutFactory Struct Reference

#include <DataLayoutFactory.hpp>

Inheritance diagram for m::storage::RowLayoutFactory:
[legend]
Collaboration diagram for m::storage::RowLayoutFactory:
[legend]

Public Member Functions

std::unique_ptr< DataLayoutFactoryclone () const override
 Creates and returns a deep copy of this.
 
DataLayout make (std::vector< const Type * > types, std::size_t num_tuples=0) const override
 Returns a DataLayout for the given types and length num_tuples (0 means infinite layout).
 
DataLayout make (const Schema &schema, std::size_t num_tuples=0) const
 Returns a DataLayout for the given Types contained in schema and length num_tuples.
 
template<typename It >
DataLayout make (It begin, It end, std::size_t num_tuples=0) const
 Returns a DataLayout for the given Types in the range from begin to end and length num_tuples.
 
virtual DataLayout make (std::vector< const Type * > types, std::size_t num_tuples=0) const=0
 Returns a DataLayout for the given types and length num_tuples (0 means infinite layout).
 
void dump (std::ostream &out) const
 
void dump () const
 

Private Member Functions

void print (std::ostream &out) const override
 

Detailed Description

Definition at line 47 of file DataLayoutFactory.hpp.

Member Function Documentation

◆ clone()

std::unique_ptr< DataLayoutFactory > m::storage::RowLayoutFactory::clone ( ) const
inlineoverridevirtual

Creates and returns a deep copy of this.

Implements m::storage::DataLayoutFactory.

Definition at line 49 of file DataLayoutFactory.hpp.

◆ dump() [1/2]

void DataLayoutFactory::dump ( ) const
inherited

◆ dump() [2/2]

void DataLayoutFactory::dump ( std::ostream &  out) const
inherited

Definition at line 18 of file DataLayoutFactory.cpp.

◆ make() [1/4]

DataLayout m::storage::DataLayoutFactory::make ( const Schema schema,
std::size_t  num_tuples = 0 
) const
inline

Returns a DataLayout for the given Types contained in schema and length num_tuples.

Definition at line 24 of file DataLayoutFactory.hpp.

◆ make() [2/4]

template<typename It >
DataLayout m::storage::DataLayoutFactory::make ( It  begin,
It  end,
std::size_t  num_tuples = 0 
) const
inline

Returns a DataLayout for the given Types in the range from begin to end and length num_tuples.

Definition at line 31 of file DataLayoutFactory.hpp.

◆ make() [3/4]

DataLayout RowLayoutFactory::make ( std::vector< const Type * >  types,
std::size_t  num_tuples = 0 
) const
overridevirtual

Returns a DataLayout for the given types and length num_tuples (0 means infinite layout).

Implements m::storage::DataLayoutFactory.

Definition at line 89 of file DataLayoutFactory.cpp.

References m::storage::DataLayout::add_inode(), m::storage::DataLayout::INode::add_leaf(), compute_attribute_order(), m::Type::Get_Bitmap(), and M_insist.

◆ make() [4/4]

virtual DataLayout m::storage::DataLayoutFactory::make ( std::vector< const Type * >  types,
std::size_t  num_tuples = 0 
) const
virtual

Returns a DataLayout for the given types and length num_tuples (0 means infinite layout).

Implements m::storage::DataLayoutFactory.

◆ print()

void m::storage::RowLayoutFactory::print ( std::ostream &  out) const
inlineoverrideprivatevirtual

Implements m::storage::DataLayoutFactory.

Definition at line 55 of file DataLayoutFactory.hpp.


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