8#include "../columns.hpp"
17 static constexpr std::string_view
NAME =
"LOOKUP_BC_HASHING_GET_PACKED_FIELD";
22 static constexpr Column COUNTS = Column::lookup_bc_hashing_get_packed_field_counts;
23 static constexpr Column INVERSES = Column::lookup_bc_hashing_get_packed_field_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
25 ColumnAndShifts::bc_hashing_pc_index,
26 ColumnAndShifts::bc_hashing_bytecode_id,
27 ColumnAndShifts::bc_hashing_packed_field
29 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = {
30 ColumnAndShifts::bc_decomposition_pc,
31 ColumnAndShifts::bc_decomposition_id,
32 ColumnAndShifts::bc_decomposition_packed_field
37template <
typename FF_>
44 static constexpr std::string_view
NAME =
"LOOKUP_BC_HASHING_IV_IS_LEN";
49 static constexpr Column COUNTS = Column::lookup_bc_hashing_iv_is_len_counts;
51 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
52 ColumnAndShifts::bc_hashing_pc_index,
53 ColumnAndShifts::bc_hashing_bytecode_id,
54 ColumnAndShifts::bc_hashing_incremental_hash
56 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = {
57 ColumnAndShifts::bc_decomposition_pc,
58 ColumnAndShifts::bc_decomposition_id,
59 ColumnAndShifts::bc_decomposition_bytes_remaining
64template <
typename FF_>
This file contains the template for the generic lookup that can be specialized to enforce various loo...
static constexpr Column COUNTS
static constexpr std::string_view RELATION_NAME
static constexpr Column INVERSES
static constexpr Column DST_SELECTOR
static constexpr std::string_view NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column SRC_SELECTOR
static constexpr Column DST_SELECTOR
static constexpr std::string_view RELATION_NAME
static constexpr std::string_view NAME
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column SRC_SELECTOR
static constexpr Column COUNTS
static constexpr Column INVERSES