greenplumn CDistributionSpecStrictRandom 源码
greenplumn CDistributionSpecStrictRandom 代码
文件路径:/src/backend/gporca/libgpopt/src/base/CDistributionSpecStrictRandom.cpp
// Greenplum Database
// Copyright (C) 2016 VMware, Inc. or its affiliates.
#include "gpopt/base/CDistributionSpecStrictRandom.h"
using namespace gpopt;
CDistributionSpecStrictRandom::CDistributionSpecStrictRandom() = default;
BOOL
CDistributionSpecStrictRandom::Matches(const CDistributionSpec *pds) const
{
return pds->Edt() == Edt();
}
BOOL
CDistributionSpecStrictRandom::FSatisfies(const CDistributionSpec *pds) const
{
return Matches(pds) || EdtAny == pds->Edt() || EdtRandom == pds->Edt() ||
EdtNonSingleton == pds->Edt();
}
相关信息
相关文章
greenplumn CColConstraintsArrayMapper 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦