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

template<class C>
void Impala::Core::Column::ApplyOrder ( C *  data,
ColumnTem< int > *  order 
)

overloaded from Util::ApplyOrder

Definition at line 19 of file ApplyOrder.h.

References Impala::Util::ApplyOrder(), Impala::Core::Column::ColumnTem< ElemT >::GetData(), ILOG_ERROR, ILOG_VAR, and Impala::Core::Column::ColumnTem< ElemT >::Size().

00020 {
00021     ILOG_VAR(Impala.Core.Column.ApplyOrder);
00022     if(data->Size() == 0)
00023     {
00024         // probably an InvalidColumn : no error
00025         return;
00026     }
00027     if(data->Size() < order->Size())
00028     {
00029         ILOG_ERROR("Column to reorder shorter than the presented order");
00030         return;
00031     }
00032     Util::ApplyOrder(data->GetData(), order->GetData(), order->Size());
00033 }

Here is the call graph for this function:


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