Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
PerColumnStats Struct Reference
Collaboration diagram for PerColumnStats:

Public Member Functions

 PerColumnStats ()
 
void Update (const string &ndv, int64_t num_new_rows, double new_avg_width, int32_t max_new_width, int64_t num_new_nulls)
 
void Finalize ()
 
TColumnStats ToTColumnStats () const
 
string DebugString () const
 

Public Attributes

string intermediate_ndv
 
int64_t num_nulls
 
int32_t max_width
 
int64_t num_rows
 
double total_width
 
int64_t ndv_estimate
 
double avg_width
 

Detailed Description

Definition at line 114 of file incr-stats-util.cc.

Constructor & Destructor Documentation

PerColumnStats::PerColumnStats ( )
inline

Definition at line 138 of file incr-stats-util.cc.

Member Function Documentation

string PerColumnStats::DebugString ( ) const
inline

Definition at line 179 of file incr-stats-util.cc.

void PerColumnStats::Finalize ( )
inline

Definition at line 162 of file incr-stats-util.cc.

TColumnStats PerColumnStats::ToTColumnStats ( ) const
inline

Definition at line 169 of file incr-stats-util.cc.

void PerColumnStats::Update ( const string &  ndv,
int64_t  num_new_rows,
double  new_avg_width,
int32_t  max_new_width,
int64_t  num_new_nulls 
)
inline

Definition at line 143 of file incr-stats-util.cc.

Referenced by impala::FinalizePartitionedColumnStats().

Member Data Documentation

double PerColumnStats::avg_width

Definition at line 136 of file incr-stats-util.cc.

string PerColumnStats::intermediate_ndv

Definition at line 117 of file incr-stats-util.cc.

int32_t PerColumnStats::max_width

Definition at line 123 of file incr-stats-util.cc.

int64_t PerColumnStats::ndv_estimate

Definition at line 133 of file incr-stats-util.cc.

int64_t PerColumnStats::num_nulls

Definition at line 120 of file incr-stats-util.cc.

int64_t PerColumnStats::num_rows

Definition at line 126 of file incr-stats-util.cc.

double PerColumnStats::total_width

Definition at line 130 of file incr-stats-util.cc.


The documentation for this struct was generated from the following file: