OmniSciDB  04ee39c94c
ColSlotContext.h File Reference

Provides column info and slot info for the output buffer and some metadata helpers. More...

#include "Shared/Logger.h"
#include <algorithm>
#include <string>
#include <vector>
+ Include dependency graph for ColSlotContext.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SlotSize
 
class  ColSlotContext
 

Namespaces

 Analyzer
 

Functions

bool operator== (const SlotSize &lhs, const SlotSize &rhs)
 

Detailed Description

Provides column info and slot info for the output buffer and some metadata helpers.

Author
Alex Baden alex..nosp@m.bade.nosp@m.n@omn.nosp@m.isci.nosp@m..com

Definition in file ColSlotContext.h.

Function Documentation

◆ operator==()

bool operator== ( const SlotSize lhs,
const SlotSize rhs 
)
inline

Definition at line 38 of file ColSlotContext.h.

References SlotSize::logical_size, and SlotSize::padded_size.

Referenced by Analyzer::ArrayExpr::ArrayExpr(), Analyzer::ColumnVar::collect_column_var(), Analyzer::InValues::collect_column_var(), Analyzer::AggExpr::collect_column_var(), Analyzer::FunctionOperWithCustomTypeHandling::FunctionOperWithCustomTypeHandling(), Analyzer::DateaddExpr::get_datetime_expr(), Analyzer::CaseExpr::get_else_expr(), Analyzer::DatediffExpr::get_end_expr(), Analyzer::ExtractExpr::get_own_from_expr(), Analyzer::DatetruncExpr::get_own_from_expr(), Analyzer::Constant::get_value_list(), Analyzer::InIntegerSet::get_value_list(), Analyzer::FunctionOper::getOwnArg(), Analyzer::ExpressionTuple::getTuple(), Analyzer::OffsetInFragment::OffsetInFragment(), Analyzer::Expr::rewrite_agg_to_var(), Analyzer::UOper::rewrite_agg_to_var(), Analyzer::BinOper::rewrite_agg_to_var(), Analyzer::CharLengthExpr::rewrite_agg_to_var(), Analyzer::KeyForStringExpr::rewrite_agg_to_var(), Analyzer::CardinalityExpr::rewrite_agg_to_var(), Analyzer::LikeExpr::rewrite_agg_to_var(), Analyzer::RegexpExpr::rewrite_agg_to_var(), Analyzer::LikelihoodExpr::rewrite_agg_to_var(), ExpressionRange::setHasNulls(), and Analyzer::WindowFunction::WindowFunction().

38  {
39  return lhs.padded_size == rhs.padded_size && lhs.logical_size == rhs.logical_size;
40 }
int8_t logical_size
int8_t padded_size
+ Here is the caller graph for this function: