greenplumn CColConstraintsArrayMapper 源码

  • 2022-08-18
  • 浏览 (523)

greenplumn CColConstraintsArrayMapper 代码

文件路径:/src/backend/gporca/libgpopt/include/gpopt/base/CColConstraintsArrayMapper.h

//	Greenplum Database
//	Copyright (C) 2016 VMware, Inc. or its affiliates.

#ifndef GPOPT_CColConstraintsArrayMapper_H
#define GPOPT_CColConstraintsArrayMapper_H

#include "gpos/memory/CMemoryPool.h"

#include "gpopt/base/CConstraint.h"
#include "gpopt/base/IColConstraintsMapper.h"

namespace gpopt
{
class CColConstraintsArrayMapper : public IColConstraintsMapper
{
public:
	CColConstraintsArrayMapper(gpos::CMemoryPool *mp,
							   CConstraintArray *pdrgpcnstr);
	CConstraintArray *PdrgPcnstrLookup(CColRef *colref) override;

	~CColConstraintsArrayMapper() override;

private:
	gpos::CMemoryPool *m_mp;
	CConstraintArray *m_pdrgpcnstr;
};
}  // namespace gpopt

#endif	//GPOPT_CColConstraintsArrayMapper_H

相关信息

greenplumn 源码目录

相关文章

greenplumn CAutoOptCtxt 源码

greenplumn CCTEInfo 源码

greenplumn CCTEMap 源码

greenplumn CCTEReq 源码

greenplumn CCastUtils 源码

greenplumn CColConstraintsHashMapper 源码

greenplumn CColRef 源码

greenplumn CColRefComputed 源码

greenplumn CColRefSet 源码

greenplumn CColRefSetIter 源码

0  赞