greenplumn CDXLScalar 源码

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

greenplumn CDXLScalar 代码

文件路径:/src/backend/gporca/libnaucrates/include/naucrates/dxl/operators/CDXLScalar.h

//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2010 Greenplum, Inc.
//
//	@filename:
//		CDXLScalar.h
//
//	@doc:
//		Base class for representing scalar DXL operators.
//---------------------------------------------------------------------------

#ifndef GPDXL_CDXLScalar_H
#define GPDXL_CDXLScalar_H

#include "gpos/base.h"

#include "naucrates/dxl/gpdb_types.h"
#include "naucrates/dxl/operators/CDXLOperator.h"

// fwd declarations
namespace gpopt
{
class CMDAccessor;
}

namespace gpdxl
{
using namespace gpopt;

//---------------------------------------------------------------------------
//	@class:
//		CDXLScalar
//
//	@doc:
//		Base class for representing scalar DXL operators
//
//---------------------------------------------------------------------------
class CDXLScalar : public CDXLOperator
{
private:
public:
	CDXLScalar(CDXLScalar &) = delete;

	// ctor/dtor
	explicit CDXLScalar(CMemoryPool *mp);

	~CDXLScalar() override = default;

	Edxloptype GetDXLOperatorType() const override;

	// does the operator return a boolean result
	virtual BOOL HasBoolResult(CMDAccessor *md_accessor) const = 0;

#ifdef GPOS_DEBUG
	void AssertValid(const CDXLNode *dxlnode,
					 BOOL validate_children) const override = 0;
#endif	// GPOS_DEBUG
};
}  // namespace gpdxl

#endif	// !GPDXL_CDXLScalar_H

// EOF

相关信息

greenplumn 源码目录

相关文章

greenplumn CDXLColDescr 源码

greenplumn CDXLColRef 源码

greenplumn CDXLCtasStorageOptions 源码

greenplumn CDXLDatum 源码

greenplumn CDXLDatumBool 源码

greenplumn CDXLDatumGeneric 源码

greenplumn CDXLDatumInt2 源码

greenplumn CDXLDatumInt4 源码

greenplumn CDXLDatumInt8 源码

greenplumn CDXLDatumOid 源码

0  赞