#include <index_element.h>
◆ DD_table
◆ Impl
◆ enum_index_element_order
Enumerator |
---|
ORDER_UNDEF | |
ORDER_ASC | |
ORDER_DESC | |
◆ ~Index_element()
dd::Index_element::~Index_element |
( |
| ) |
|
|
overridedefault |
◆ column() [1/2]
virtual const Column & dd::Index_element::column |
( |
| ) |
const |
|
pure virtual |
◆ column() [2/2]
virtual Column & dd::Index_element::column |
( |
| ) |
|
|
pure virtual |
◆ deserialize()
Re-establishes the state of *this by reading sdi information from the rapidjson DOM subobject provided.
Cross-references encountered within this object are tracked in sdictx, so that they can be updated when the entire object graph has been established.
- Parameters
-
rctx | stores book-keeping information for the deserialization process |
val | subobject of rapidjson DOM containing json representation of this object |
Implemented in dd::Index_element_impl.
◆ index() [1/2]
virtual const Index & dd::Index_element::index |
( |
| ) |
const |
|
pure virtual |
◆ index() [2/2]
virtual Index & dd::Index_element::index |
( |
| ) |
|
|
pure virtual |
◆ is_hidden()
virtual bool dd::Index_element::is_hidden |
( |
| ) |
const |
|
pure virtual |
◆ is_length_null()
virtual bool dd::Index_element::is_length_null |
( |
| ) |
const |
|
pure virtual |
◆ is_prefix()
virtual bool dd::Index_element::is_prefix |
( |
| ) |
const |
|
pure virtual |
Check if index element (a.k.a.
key part) is a prefix of the column used.
Implemented in dd::Index_element_impl.
◆ length()
virtual uint dd::Index_element::length |
( |
| ) |
const |
|
pure virtual |
◆ order()
◆ ordinal_position()
virtual uint dd::Index_element::ordinal_position |
( |
| ) |
const |
|
pure virtual |
◆ serialize()
Converts *this into json.
Converts all member variables that are to be included in the sdi into json by transforming them appropriately and passing them to the rapidjson writer provided.
- Parameters
-
wctx | opaque context for data needed by serialization |
w | rapidjson writer which will perform conversion to json |
Implemented in dd::Index_element_impl.
◆ set_hidden()
virtual void dd::Index_element::set_hidden |
( |
bool |
hidden | ) |
|
|
pure virtual |
◆ set_length()
virtual void dd::Index_element::set_length |
( |
uint |
length | ) |
|
|
pure virtual |
◆ set_length_null()
virtual void dd::Index_element::set_length_null |
( |
bool |
is_null | ) |
|
|
pure virtual |
◆ set_order()
The documentation for this class was generated from the following file: