greenplumn IMDPartConstraint 源码
greenplumn IMDPartConstraint 代码
文件路径:/src/backend/gporca/libnaucrates/include/naucrates/md/IMDPartConstraint.h
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// IMDPartConstraint.h
//
// @doc:
// Interface class for partition constraints in the MD cache
//---------------------------------------------------------------------------
#ifndef GPMD_IMDPartConstraint_H
#define GPMD_IMDPartConstraint_H
#include "gpos/base.h"
#include "gpopt/base/CColRef.h"
#include "naucrates/md/IMDInterface.h"
// fwd decl
namespace gpopt
{
class CExpression;
class CMDAccessor;
} // namespace gpopt
namespace gpmd
{
using namespace gpos;
//---------------------------------------------------------------------------
// @class:
// IMDPartConstraint
//
// @doc:
// Interface class for partition constraints in the MD cache
//
//---------------------------------------------------------------------------
class IMDPartConstraint : public IMDInterface
{
public:
// extract the scalar expression of the constraint with the given
// column mappings
virtual CExpression *GetPartConstraintExpr(
CMemoryPool *mp, CMDAccessor *md_accessor,
CColRefArray *colref_array) const = 0;
// included default partitions
virtual ULongPtrArray *GetDefaultPartsArray() const = 0;
// is constraint unbounded
virtual BOOL IsConstraintUnbounded() const = 0;
// serialize constraint in DXL format
virtual void Serialize(CXMLSerializer *xml_serializer) const = 0;
};
} // namespace gpmd
#endif // !GPMD_IMDPartConstraint_H
// EOF
相关信息
相关文章
greenplumn CDXLStatsDerivedColumn 源码
greenplumn CDXLStatsDerivedRelation 源码
greenplumn CMDAggregateGPDB 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦