greenplumn CXformLeftOuterJoin2NLJoin 代码
文件路径:/src/backend/gporca/libgpopt/include/gpopt/xforms/CXformLeftOuterJoin2NLJoin.h
/---------------------------------------------------------------------------
/ Greenplum Database
/ Copyright (C) 2011 EMC Corp.
/
/ @filename:
/ CXformLeftOuterJoin2NLJoin.h
/
/ @doc:
/ Transform left outer join to left outer NLJ
/---------------------------------------------------------------------------
#ifndef GPOPT_CXformLeftOuterJoin2NLJoin_H
#define GPOPT_CXformLeftOuterJoin2NLJoin_H
#include "gpos/base.h"
#include "gpopt/xforms/CXformImplementation.h"
namespace gpopt
{
using namespace gpos;
/---------------------------------------------------------------------------
/ @class:
/ CXformLeftOuterJoin2NLJoin
/
/ @doc:
/ Transform left outer join to left outer NLJ
/
/---------------------------------------------------------------------------
class CXformLeftOuterJoin2NLJoin : public CXformImplementation
{
private:
public:
CXformLeftOuterJoin2NLJoin(const CXformLeftOuterJoin2NLJoin &) = delete;
/ ctor
explicit CXformLeftOuterJoin2NLJoin(CMemoryPool *mp);
/ dtor
~CXformLeftOuterJoin2NLJoin() override = default;
/ ident accessors
EXformId
Exfid() const override
{
return ExfLeftOuterJoin2NLJoin;
}
/ return a string for xform name
const CHAR *
SzId() const override
{
return "CXformLeftOuterJoin2NLJoin";
}
/ 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 CXformLeftOuterJoin2NLJoin
} / namespace gpopt
#endif / !GPOPT_CXformLeftOuterJoin2NLJoin_H
/ EOF
相关信息
相关文章
greenplumn CJoinOrderGreedy 源码
greenplumn CJoinOrderMinCard 源码
greenplumn CSubqueryHandler 源码