Struct FilterSelectivity

struct FilterSelectivity

Statistics stored for filters with respect to a table, so that selective filters can be pushed down in join operations.

Public Functions

size_t getRowsPassingUpperBound() const
bool isFilterSelectiveEnough() const

Public Members

const bool is_valid
const float fraction_passing
const size_t total_rows_upper_bound

Public Static Attributes

constexpr float kFractionPassingLowThreshold = 0.1
constexpr float kFractionPassingHighThreshold = 0.5
constexpr size_t kRowsPassingUpperBoundThreshold = 4000000