greenplumn CDXLScalar 源码
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 CDXLCtasStorageOptions 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony