greenplumn CXformPushGbBelowUnionAll 源码
greenplumn CXformPushGbBelowUnionAll 代码
文件路径:/src/backend/gporca/libgpopt/include/gpopt/xforms/CXformPushGbBelowUnionAll.h
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2013 VMware, Inc. or its affiliates.
//
// @filename:
// CXformPushGbBelowUnionAll.h
//
// @doc:
// Push grouping below UnionAll operation
//---------------------------------------------------------------------------
#ifndef GPOPT_CXformPushGbBelowUnionAll_H
#define GPOPT_CXformPushGbBelowUnionAll_H
#include "gpos/base.h"
#include "gpopt/operators/CLogicalUnionAll.h"
#include "gpopt/xforms/CXformPushGbBelowSetOp.h"
namespace gpopt
{
using namespace gpos;
//---------------------------------------------------------------------------
// @class:
// CXformPushGbBelowUnionAll
//
// @doc:
// Push grouping below UnionAll operation
//
//---------------------------------------------------------------------------
class CXformPushGbBelowUnionAll
: public CXformPushGbBelowSetOp<CLogicalUnionAll>
{
private:
public:
CXformPushGbBelowUnionAll(const CXformPushGbBelowUnionAll &) = delete;
// ctor
explicit CXformPushGbBelowUnionAll(CMemoryPool *mp)
: CXformPushGbBelowSetOp<CLogicalUnionAll>(mp)
{
}
// dtor
~CXformPushGbBelowUnionAll() override = default;
// Compatibility function
BOOL
FCompatible(CXform::EXformId exfid) override
{
return ExfPushGbBelowUnionAll != exfid;
}
// ident accessors
EXformId
Exfid() const override
{
return ExfPushGbBelowUnionAll;
}
const CHAR *
SzId() const override
{
return "CXformPushGbBelowUnionAll";
}
}; // class CXformPushGbBelowUnionAll
} // namespace gpopt
#endif // !GPOPT_CXformPushGbBelowUnionAll_H
// EOF
相关信息
相关文章
greenplumn CJoinOrderGreedy 源码
greenplumn CJoinOrderMinCard 源码
greenplumn CSubqueryHandler 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦