greenplumn CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn 源码
greenplumn CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn 代码
文件路径:/src/backend/gporca/libgpopt/include/gpopt/xforms/CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn.h
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2013 EMC Corp.
//
// @filename:
// CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn.h
//
// @doc:
// Turn LAS apply into LAS join (NotIn semantics)
//---------------------------------------------------------------------------
#ifndef GPOPT_CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn_H
#define GPOPT_CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn_H
#include "gpos/base.h"
#include "gpopt/operators/CLogicalLeftAntiSemiApplyNotIn.h"
#include "gpopt/operators/CLogicalLeftAntiSemiJoinNotIn.h"
#include "gpopt/xforms/CXformApply2Join.h"
namespace gpopt
{
using namespace gpos;
//---------------------------------------------------------------------------
// @class:
// CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn
//
// @doc:
// Transform Apply into Join by decorrelating the inner side
//
//---------------------------------------------------------------------------
class CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn
: public CXformApply2Join<CLogicalLeftAntiSemiApplyNotIn,
CLogicalLeftAntiSemiJoinNotIn>
{
private:
public:
CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn(
const CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn &) = delete;
// ctor
explicit CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn(CMemoryPool *mp)
: CXformApply2Join<CLogicalLeftAntiSemiApplyNotIn,
CLogicalLeftAntiSemiJoinNotIn>(mp,
true /*fDeepTree*/)
{
}
// dtor
~CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn() override = default;
// ident accessors
EXformId
Exfid() const override
{
return ExfLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn;
}
// xform name
const CHAR *
SzId() const override
{
return "CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn";
}
// compute xform promise for a given expression handle
EXformPromise Exfp(CExpressionHandle &exprhdl) const override;
// actual transform
void Transform(CXformContext *pxfctxt, CXformResult *pxfres,
CExpression *pexpr) const override;
}; // class CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn
} // namespace gpopt
#endif // !GPOPT_CXformLeftAntiSemiApplyNotIn2LeftAntiSemiJoinNotIn_H
// EOF
相关信息
相关文章
greenplumn CJoinOrderGreedy 源码
greenplumn CJoinOrderMinCard 源码
greenplumn CSubqueryHandler 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦