greenplumn IMDRelStats 源码
greenplumn IMDRelStats 代码
文件路径:/src/backend/gporca/libnaucrates/include/naucrates/md/IMDRelStats.h
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// IMDRelStats.h
//
// @doc:
// Interface for relation stats
//---------------------------------------------------------------------------
#ifndef GPMD_IMDRelStats_H
#define GPMD_IMDRelStats_H
#include "gpos/base.h"
#include "gpos/common/CDouble.h"
#include "naucrates/md/IMDCacheObject.h"
namespace gpmd
{
using namespace gpos;
using namespace gpdxl;
//---------------------------------------------------------------------------
// @class:
// IMDRelStats
//
// @doc:
// Interface for relation stats
//
//---------------------------------------------------------------------------
class IMDRelStats : public IMDCacheObject
{
public:
// object type
Emdtype
MDType() const override
{
return EmdtRelStats;
}
// number of rows
virtual CDouble Rows() const = 0;
virtual ULONG RelPages() const = 0;
virtual ULONG RelAllVisible() const = 0;
// is statistics on an empty input
virtual BOOL IsEmpty() const = 0;
};
} // namespace gpmd
#endif // !GPMD_IMDRelStats_H
// EOF
相关信息
相关文章
greenplumn CDXLStatsDerivedColumn 源码
greenplumn CDXLStatsDerivedRelation 源码
greenplumn CMDAggregateGPDB 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦