greenplumn CAutoOptCtxt 源码
greenplumn CAutoOptCtxt 代码
文件路径:/src/backend/gporca/libgpopt/include/gpopt/base/CAutoOptCtxt.h
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2009 Greenplum, Inc.
//
// @filename:
// CAutoOptCtxt.h
//
// @doc:
// Optimizer context object; contains all global objects pertaining to
// one optimization
//---------------------------------------------------------------------------
#ifndef GPOPT_CAutoOptCtxt_H
#define GPOPT_CAutoOptCtxt_H
#include "gpos/base.h"
#include "gpopt/base/CColumnFactory.h"
#include "gpopt/base/COptCtxt.h"
#include "gpopt/mdcache/CMDAccessor.h"
namespace gpopt
{
using namespace gpos;
// forward declaration
class CCostParams;
class ICostModel;
class COptimizerConfig;
class IConstExprEvaluator;
//---------------------------------------------------------------------------
// @class:
// CAutoOptCtxt
//
// @doc:
// Auto optimizer context object creates and installs optimizer context
// for unittesting
//
//---------------------------------------------------------------------------
class CAutoOptCtxt
{
private:
public:
CAutoOptCtxt(CAutoOptCtxt &) = delete;
// ctor
CAutoOptCtxt(CMemoryPool *mp, CMDAccessor *md_accessor,
IConstExprEvaluator *pceeval,
COptimizerConfig *optimizer_config);
// ctor
CAutoOptCtxt(CMemoryPool *mp, CMDAccessor *md_accessor,
IConstExprEvaluator *pceeval, ICostModel *pcm);
// dtor
~CAutoOptCtxt();
}; // class CAutoOptCtxt
} // namespace gpopt
#endif // !GPOPT_CAutoOptCtxt_H
// EOF
相关信息
相关文章
greenplumn CColConstraintsArrayMapper 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦