greenplumn CColRefSetIter 源码
greenplumn CColRefSetIter 代码
文件路径:/src/backend/gporca/libgpopt/include/gpopt/base/CColRefSetIter.h
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2009 Greenplum, Inc.
//
// @filename:
// CColRefSetIter.h
//
// @doc:
// Implementation of iterator for column ref sets
//---------------------------------------------------------------------------
#ifndef GPOS_CColRefSetIter_H
#define GPOS_CColRefSetIter_H
#include "gpos/base.h"
#include "gpos/common/CBitSetIter.h"
#include "gpopt/base/CColRefSet.h"
namespace gpopt
{
// fwd declarations
class CColumnFactory;
//---------------------------------------------------------------------------
// @class:
// CColRefSetIter
//
// @doc:
// Iterator for colref set's; defined as friend, ie can access colrefset's
// internal links
//
//---------------------------------------------------------------------------
class CColRefSetIter : public CBitSetIter
{
private:
// a copy of the pointer to column factory, obtained at construction time
CColumnFactory *m_pcf;
// private copy ctor
CColRefSetIter(const CColRefSetIter &);
// current bit -- private to make super class' inaccessible
ULONG UlBit() const;
public:
// ctor
explicit CColRefSetIter(const CColRefSet &bs);
// dtor
~CColRefSetIter() = default;
// current colref
CColRef *Pcr() const;
}; // class CColRefSetIter
} // namespace gpopt
#endif // !GPOS_CColRefSetIter_H
// EOF
相关信息
相关文章
greenplumn CColConstraintsArrayMapper 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦