greenplumn CCostTest 源码

  • 2022-08-18
  • 浏览 (312)

greenplumn CCostTest 代码

文件路径:/src/backend/gporca/server/include/unittest/gpopt/cost/CCostTest.h

//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2012 EMC Corp.
//
//	@filename:
//		CCostTest.h
//
//	@doc:
//		Basic tests for costing
//---------------------------------------------------------------------------
#ifndef GPOPT_CCostTest_H
#define GPOPT_CCostTest_H

#include "gpos/base.h"


namespace gpopt
{
using namespace gpos;

//---------------------------------------------------------------------------
//	@class:
//		CCostTest
//
//	@doc:
//		Unittests for costing
//
//---------------------------------------------------------------------------
class CCostTest
{
private:
	// test cost model parameters
	static void TestParams(CMemoryPool *mp);

public:
	// unittests
	static GPOS_RESULT EresUnittest();
	static GPOS_RESULT EresUnittest_Arithmetic();
	static GPOS_RESULT EresUnittest_Bool();
	static GPOS_RESULT EresUnittest_Params();
	static GPOS_RESULT EresUnittest_Parsing();
	static GPOS_RESULT EresUnittest_ParsingWithException();
	static GPOS_RESULT EresUnittest_SetParams();

};	// class CCostTest
}  // namespace gpopt

#endif	// !GPOPT_CCostTest_H

// EOF

相关信息

greenplumn 源码目录

相关文章

greenplumn adminpack 源码

greenplumn verify_nbtree 源码

greenplumn auth_delay 源码

greenplumn auto_explain 源码

greenplumn blcost 源码

greenplumn blinsert 源码

greenplumn bloom 源码

greenplumn blscan 源码

greenplumn blutils 源码

greenplumn blvacuum 源码

0  赞