|
souffle
2.0.2-371-g6315b36
|
An order to be enforced for storing tuples within indexes. More...
#include <Index.h>

Public Member Functions | |
| template<size_t Arity> | |
| Tuple< RamDomain, Arity > | decode (const Tuple< RamDomain, Arity > &entry) const |
| Decode the tuple by order. More... | |
| template<size_t Arity> | |
| Tuple< RamDomain, Arity > | encode (const Tuple< RamDomain, Arity > &entry) const |
| Encode the tuple with order. More... | |
| const AttributeOrder & | getOrder () const |
| bool | operator!= (const Order &other) const |
| bool | operator== (const Order &other) const |
| Attribute | operator[] (const size_t idx) const |
| Order ()=default | |
| Order (AttributeOrder pos) | |
| size_t | size () const |
| bool | valid () const |
| Determines whether this order is a valid order. More... | |
Static Public Member Functions | |
| static Order | create (size_t arity) |
Private Types | |
| using | Attribute = uint32_t |
| using | AttributeOrder = std::vector< Attribute > |
Private Attributes | |
| AttributeOrder | order |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const Order &order) |
An order to be enforced for storing tuples within indexes.
The order is defined by the sequence of component to be considered in sorting tuples.
|
private |
|
private |
|
default |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |
1.8.17