![]() |
mutable
A Database System for Research and Fast Prototyping
|
The Leaf
represents exactly one attribue.
More...
#include <DataLayout.hpp>
Public Member Functions | |
const m::Type * | type () const |
Returns the Type of this Leaf . | |
size_type | index () const |
Returns the index assigned to this Leaf . | |
size_type | num_tuples () const override |
| |
void | accept (ConstDataLayoutVisitor &v) const override |
Private Member Functions | |
Leaf (const m::Type *type, size_type idx) | |
Private Attributes | |
const m::Type * | type_ |
size_type | idx_ |
| |
Friends | |
struct | DataLayout |
struct | INode |
The Leaf
represents exactly one attribue.
It holds the Type
of the Attribute
together with a unique index. With the unique index it is possible to associate the Attribute
to this Leaf
.
Definition at line 72 of file DataLayout.hpp.
Definition at line 83 of file DataLayout.hpp.
|
overridevirtual |
Implements m::storage::DataLayout::Node.
Definition at line 22 of file DataLayout.cpp.
|
inline |
Returns the index assigned to this Leaf
.
Must be unique within the entire DataLayout
.
Definition at line 89 of file DataLayout.hpp.
|
inlineoverridevirtual |
returns the number of tuples represented by an instance of this node
Implements m::storage::DataLayout::Node.
Definition at line 91 of file DataLayout.hpp.
|
inline |
Returns the Type
of this Leaf
.
Definition at line 87 of file DataLayout.hpp.
|
friend |
Definition at line 74 of file DataLayout.hpp.
Definition at line 75 of file DataLayout.hpp.
|
private |
an index that must be unique within the entire
DataLayout
Definition at line 81 of file DataLayout.hpp.
|
private |
Definition at line 79 of file DataLayout.hpp.