CMappingElementColIdParamId.cpp 1.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2012 EMC Corp.
//
//	@filename:
//		CMappingElementColIdParamId.cpp
//
//	@doc:
//		Implementation of the functions for the mapping element between ColId
//		and ParamId during DXL->PlStmt translation
//
//	@test:
//
//
//---------------------------------------------------------------------------

#include "postgres.h"
#include "nodes/makefuncs.h"
#include "nodes/primnodes.h"

#include "gpopt/translate/CMappingElementColIdParamId.h"

using namespace gpdxl;
using namespace gpos;

//---------------------------------------------------------------------------
//	@function:
//		CMappingElementColIdParamId::CMappingElementColIdParamId
//
//	@doc:
//		Ctor
//
//---------------------------------------------------------------------------
J
Jesse Zhang 已提交
34 35 36 37 38 39 40 41
CMappingElementColIdParamId::CMappingElementColIdParamId(ULONG colid,
														 ULONG paramid,
														 IMDId *mdid,
														 INT type_modifier)
	: m_colid(colid),
	  m_paramid(paramid),
	  m_mdid(mdid),
	  m_type_modifier(type_modifier)
42 43 44 45
{
}

// EOF