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

Public Member Functions

 ReservoirSample ()
 
 ReservoirSample (const T &val)
 
GetValue (FunctionContext *ctx)
 

Public Attributes

val
 
double key
 

Detailed Description

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

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

Constructor & Destructor Documentation

template<typename T>
impala::ReservoirSample< T >::ReservoirSample ( )
inline

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

template<typename T>
impala::ReservoirSample< T >::ReservoirSample ( const T &  val)
inline

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

Member Function Documentation

template<typename T>
T impala::ReservoirSample< T >::GetValue ( FunctionContext ctx)
inline

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

References impala::ReservoirSample< T >::val.

Member Data Documentation

template<typename T>
double impala::ReservoirSample< T >::key

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

Referenced by impala::SampleKeyGreater().


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