greenplumn CWindowOids 源码

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

greenplumn CWindowOids 代码

文件路径:/src/backend/gporca/libgpopt/src/base/CWindowOids.cpp

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

#include "gpopt/base/CWindowOids.h"

using namespace gpopt;

CWindowOids::CWindowOids(OID row_number_oid, OID rank_oid)
{
	m_oidRowNumber = row_number_oid;
	m_oidRank = rank_oid;
}

OID
CWindowOids::OidRowNumber() const
{
	return m_oidRowNumber;
}

OID
CWindowOids::OidRank() const
{
	return m_oidRank;
}

CWindowOids *
CWindowOids::GetWindowOids(CMemoryPool *mp)
{
	return GPOS_NEW(mp) CWindowOids(DUMMY_ROW_NUMBER_OID, DUMMY_WIN_RANK);
}

相关信息

greenplumn 源码目录

相关文章

greenplumn CAutoOptCtxt 源码

greenplumn CCTEInfo 源码

greenplumn CCTEMap 源码

greenplumn CCTEReq 源码

greenplumn CCastUtils 源码

greenplumn CColConstraintsArrayMapper 源码

greenplumn CColConstraintsHashMapper 源码

greenplumn CColRef 源码

greenplumn CColRefComputed 源码

greenplumn CColRefSet 源码

0  赞