greenplumn CDistributionSpecStrictHashed 源码

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

greenplumn CDistributionSpecStrictHashed 代码

文件路径:/src/backend/gporca/libgpopt/include/gpopt/base/CDistributionSpecStrictHashed.h

//	Greenplum Database
//	Copyright (C) 2016 VMware, Inc. or its affiliates.

#ifndef GPOPT_CDistributionSpecStrictHashed_H
#define GPOPT_CDistributionSpecStrictHashed_H

#include "gpopt/base/CDistributionSpecHashed.h"

namespace gpopt
{
// Class to represent a "forced" hashed distribution. Introduced to support
// parallel append, this distribution is meant to be incompatible with
// (or unsatisfiable by) most other distributions to force a motion.
class CDistributionSpecStrictHashed : public CDistributionSpecHashed
{
public:
	CDistributionSpecStrictHashed(CExpressionArray *pdrgpexpr,
								  BOOL fNullsColocated);

	EDistributionType Edt() const override;

	const CHAR *
	SzId() const override
	{
		return "STRICT HASHED";
	}
};
}  // namespace gpopt

#endif

相关信息

greenplumn 源码目录

相关文章

greenplumn CAutoOptCtxt 源码

greenplumn CCTEInfo 源码

greenplumn CCTEMap 源码

greenplumn CCTEReq 源码

greenplumn CCastUtils 源码

greenplumn CColConstraintsArrayMapper 源码

greenplumn CColConstraintsHashMapper 源码

greenplumn CColRef 源码

greenplumn CColRefComputed 源码

greenplumn CColRefSet 源码

0  赞