greenplumn CStrictHashedDistributions 源码

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

greenplumn CStrictHashedDistributions 代码


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

#ifndef GPOPT_CHashedDistributions_H
#define GPOPT_CHashedDistributions_H

#include "gpos/memory/CMemoryPool.h"

#include "gpopt/base/CColRef.h"
#include "gpopt/base/CDistributionSpec.h"
#include "gpopt/base/CDistributionSpecStrictHashed.h"

namespace gpopt
// Build hashed distributions used in physical union all during
// distribution derivation. The class is an array of hashed
// distribution on input column of each child, and an output hashed
// distribution on UnionAll output columns
// If there exists no redistributable columns in the input list,
// it creates a random distribution.
class CStrictHashedDistributions : public CDistributionSpecArray
	CStrictHashedDistributions(CMemoryPool *mp, CColRefArray *pdrgpcrOutput,
							   CColRef2dArray *pdrgpdrgpcrInput);
}  // namespace gpopt

#endif	//GPOPT_CHashedDistributions_H


greenplumn 源码目录


greenplumn CExpression 源码

greenplumn CExpressionFactorizer 源码

greenplumn CExpressionHandle 源码

greenplumn CExpressionPreprocessor 源码

greenplumn CExpressionUtils 源码

greenplumn CHashedDistributions 源码

greenplumn CLogical 源码

greenplumn CLogicalApply 源码

greenplumn CLogicalAssert 源码

greenplumn CLogicalBitmapTableGet 源码

0  赞