00001 /* 00002 // $Id: //open/dev/fennel/lucidera/bitmap/LbmSortedAggExecStream.h#4 $ 00003 // Fennel is a library of data storage and processing components. 00004 // Copyright (C) 2005-2009 LucidEra, Inc. 00005 // Copyright (C) 2005-2009 The Eigenbase Project 00006 // 00007 // This program is free software; you can redistribute it and/or modify it 00008 // under the terms of the GNU General Public License as published by the Free 00009 // Software Foundation; either version 2 of the License, or (at your option) 00010 // any later version approved by The Eigenbase Project. 00011 // 00012 // This program is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 // GNU General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU General Public License 00018 // along with this program; if not, write to the Free Software 00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 */ 00021 00022 #ifndef Fennel_LbmAggExecStream_Included 00023 #define Fennel_LbmAggExecStream_Included 00024 00025 #include "fennel/exec/SortedAggExecStream.h" 00026 #include "fennel/exec/AggInvocation.h" 00027 #include "fennel/exec/AggComputer.h" 00028 #include "fennel/lucidera/bitmap/LbmByteSegment.h" 00029 #include "fennel/tuple/TupleDataWithBuffer.h" 00030 00031 FENNEL_BEGIN_NAMESPACE 00032 00036 struct LbmSortedAggExecStreamParams : public SortedAggExecStreamParams 00037 { 00038 }; 00039 00056 class FENNEL_LBM_EXPORT LbmSortedAggExecStream 00057 : public SortedAggExecStream 00058 { 00059 protected: 00060 virtual AggComputer *newAggComputer( 00061 AggFunction aggFunction, 00062 TupleAttributeDescriptor const *pAttrDesc); 00063 00064 public: 00065 // implement ExecStream 00066 virtual void prepare(LbmSortedAggExecStreamParams const ¶ms); 00067 }; 00068 00069 FENNEL_END_NAMESPACE 00070 00071 #endif 00072 00073 // End LbmSortedAggExecStream.h