Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

template<class C>
void Impala::Core::Column::MakeFilterEqual ( bool *&  filter,
C *  col,
bool  defaultValue,
typename C::ColElemType  elem 
) [inline]

Make a filter for the given colomn indicating (in)equality to elem.

Definition at line 37 of file MakeFilter.h.

00039 {
00040     if (filter == 0)
00041         filter = new bool[col->Capacity()];
00042     for (int i=0 ; i<col->Capacity() ; i++)
00043         filter[i] = (col->Get(i) == elem) ? !defaultValue : defaultValue;
00044 }


Generated on Thu Jan 13 09:18:48 2011 for ImpalaSrc by  doxygen 1.5.1