Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::ReservoirSampleState< T > Struct Template Reference
Collaboration diagram for impala::ReservoirSampleState< T >:

Public Member Functions

int64_t GetNext64 (int64_t max)
 

Public Attributes

ReservoirSample< T > samples [NUM_SAMPLES]
 
int num_samples
 
int64_t source_size
 
ranlux64_3 rng
 

Detailed Description

template<typename T>
struct impala::ReservoirSampleState< T >

Definition at line 772 of file aggregate-functions.cc.

Member Function Documentation

template<typename T>
int64_t impala::ReservoirSampleState< T >::GetNext64 ( int64_t  max)
inline

Member Data Documentation

template<typename T>
ranlux64_3 impala::ReservoirSampleState< T >::rng

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