27#ifndef TEMPTABLE_INDEXED_COLUMN_H
28#define TEMPTABLE_INDEXED_COLUMN_H
63 : m_mysql_field_index(static_cast<decltype(m_mysql_field_index)>(
64 mysql_key_part.field->field_index())),
65 m_prefix_length(mysql_key_part.
length),
66 m_cell_calculator(mysql_key_part) {
TempTable Cell_calculator declaration.
uint16 field_index() const
Returns field index.
Definition: field.h:1835
Field * field
Definition: key.h:59
Utility to perform calculations for a cell.
Definition: cell_calculator.h:44
Definition: indexed_column.h:39
uint16_t m_mysql_field_index
The position of the indexed column.
Definition: indexed_column.h:55
const Cell_calculator & cell_calculator() const
Definition: indexed_column.h:79
Cell_calculator m_cell_calculator
Definition: indexed_column.h:57
size_t field_index() const
Definition: indexed_column.h:71
uint32_t prefix_length() const
Definition: indexed_column.h:75
uint32_t m_prefix_length
Definition: indexed_column.h:56
Indexed_column()=default
Default constructor used for std::array initialization in Index.
A better implementation of the UNIX ctype(3) library.
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
Definition: allocator.h:45