greenplumn IMDScCmp 源码

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

greenplumn IMDScCmp 代码

文件路径:/src/backend/gporca/libnaucrates/include/naucrates/md/IMDScCmp.h

//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2013 EMC Corp.
//
//	@filename:
//		IMDScCmp.h
//
//	@doc:
//		Interface for scalar comparison operators in the MD cache
//---------------------------------------------------------------------------



#ifndef GPMD_IMDScCmp_H
#define GPMD_IMDScCmp_H

#include "gpos/base.h"

#include "naucrates/md/IMDCacheObject.h"
#include "naucrates/md/IMDType.h"

namespace gpmd
{
using namespace gpos;


//---------------------------------------------------------------------------
//	@class:
//		IMDScCmp
//
//	@doc:
//		Interface for scalar comparison operators in the MD cache
//
//---------------------------------------------------------------------------
class IMDScCmp : public IMDCacheObject
{
public:
	// object type
	Emdtype
	MDType() const override
	{
		return EmdtScCmp;
	}

	// left type
	virtual IMDId *GetLeftMdid() const = 0;

	// right type
	virtual IMDId *GetRightMdid() const = 0;

	// comparison type
	virtual IMDType::ECmpType ParseCmpType() const = 0;

	// comparison operator id
	virtual IMDId *MdIdOp() const = 0;
};

}  // namespace gpmd

#endif	// !GPMD_IMDScCmp_H

// EOF

相关信息

greenplumn 源码目录

相关文章

greenplumn CDXLBucket 源码

greenplumn CDXLColStats 源码

greenplumn CDXLRelStats 源码

greenplumn CDXLStatsDerivedColumn 源码

greenplumn CDXLStatsDerivedRelation 源码

greenplumn CGPDBTypeHelper 源码

greenplumn CMDAggregateGPDB 源码

greenplumn CMDArrayCoerceCastGPDB 源码

greenplumn CMDCastGPDB 源码

greenplumn CMDCheckConstraintGPDB 源码

0  赞