class xf::database::gqe::MetaTable

#include "meta_table.hpp"

Overview

the MetaTable class the overall layout is as follows:

// structs

struct vector

Methods

meta

ap_uint <512>* meta ()

convert meta struct data to ap_uint, which can be transferred to kernel

setSecID

void setSecID (int32_t _id)

set the sec id in meta

setColNum

void setColNum (int8_t num)

set the col num of input table

setPartition

void setPartition (
    int num,
    int size
    )

set partition num and size, only vaild for gqePart

setCol

void setCol (
    int col_id,
    int buf_id,
    int64_t len
    )

set the buf id and row num of each col

getColLen

int64_t getColLen ()

get the row num of results

getPartLen

int32_t* getPartLen ()

get the row num of each partition

reload

void reload ()

convert kernel mbuf back to meta struct, refresh all data