greenplumn CColConstraintsArrayMapper 源码
greenplumn CColConstraintsArrayMapper 代码
文件路径:/src/backend/gporca/libgpopt/src/base/CColConstraintsArrayMapper.cpp
// Greenplum Database
// Copyright (C) 2016 VMware, Inc. or its affiliates.
#include "gpopt/base/CColConstraintsArrayMapper.h"
#include "gpopt/base/CConstraint.h"
using namespace gpopt;
CConstraintArray *
CColConstraintsArrayMapper::PdrgPcnstrLookup(CColRef *colref)
{
const BOOL fExclusive = true;
return CConstraint::PdrgpcnstrOnColumn(m_mp, m_pdrgpcnstr, colref,
fExclusive);
}
CColConstraintsArrayMapper::CColConstraintsArrayMapper(
gpos::CMemoryPool *mp, CConstraintArray *pdrgpcnstr)
: m_mp(mp), m_pdrgpcnstr(pdrgpcnstr)
{
}
CColConstraintsArrayMapper::~CColConstraintsArrayMapper()
{
m_pdrgpcnstr->Release();
}
相关信息
相关文章
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦