greenplumn CLogicalLeftAntiSemiCorrelatedApply 源码
greenplumn CLogicalLeftAntiSemiCorrelatedApply 代码
文件路径:/src/backend/gporca/libgpopt/src/operators/CLogicalLeftAntiSemiCorrelatedApply.cpp
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2014 VMware, Inc. or its affiliates.
//
// @filename:
// CLogicalLeftAntiSemiCorrelatedApply.cpp
//
// @doc:
// Implementation of left anti semi correlated apply for NOT EXISTS subqueries
//---------------------------------------------------------------------------
#include "gpopt/operators/CLogicalLeftAntiSemiCorrelatedApply.h"
#include "gpos/base.h"
using namespace gpopt;
//---------------------------------------------------------------------------
// @function:
// CLogicalLeftAntiSemiCorrelatedApply::PxfsCandidates
//
// @doc:
// Get candidate xforms
//
//---------------------------------------------------------------------------
CXformSet *
CLogicalLeftAntiSemiCorrelatedApply::PxfsCandidates(CMemoryPool *mp) const
{
CXformSet *xform_set = GPOS_NEW(mp) CXformSet(mp);
(void) xform_set->ExchangeSet(
CXform::ExfImplementLeftAntiSemiCorrelatedApply);
return xform_set;
}
//---------------------------------------------------------------------------
// @function:
// CLogicalLeftAntiSemiCorrelatedApply::PopCopyWithRemappedColumns
//
// @doc:
// Return a copy of the operator with remapped columns
//
//---------------------------------------------------------------------------
COperator *
CLogicalLeftAntiSemiCorrelatedApply::PopCopyWithRemappedColumns(
CMemoryPool *mp, UlongToColRefMap *colref_mapping, BOOL must_exist)
{
CColRefArray *pdrgpcrInner =
CUtils::PdrgpcrRemap(mp, m_pdrgpcrInner, colref_mapping, must_exist);
return GPOS_NEW(mp) CLogicalLeftAntiSemiCorrelatedApply(mp, pdrgpcrInner,
m_eopidOriginSubq);
}
// EOF
相关信息
相关文章
greenplumn CExpressionFactorizer 源码
greenplumn CExpressionHandle 源码
greenplumn CExpressionPreprocessor 源码
greenplumn CExpressionUtils 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦