greenplumn CScalarValuesList 代码
文件路径:/src/backend/gporca/libgpopt/src/operators/CScalarValuesList.cpp
/---------------------------------------------------------------------------
/ Greenplum Database
/ Copyright (C) 2014 Pivotal, Inc.
/
/ @filename:
/ CScalarValuesList.cpp
/
/ @doc:
/ Implementation of scalar arrayref index list
/---------------------------------------------------------------------------
#include "gpopt/operators/CScalarValuesList.h"
#include "gpos/base.h"
using namespace gpopt;
using namespace gpmd;
/---------------------------------------------------------------------------
/ @function:
/ CScalarValuesList::CScalarValuesList
/
/ @doc:
/ Ctor
/
/---------------------------------------------------------------------------
CScalarValuesList::CScalarValuesList(CMemoryPool *mp) : CScalar(mp)
{
}
/---------------------------------------------------------------------------
/ @function:
/ CScalarValuesList::Matches
/
/ @doc:
/ Match function on operator level
/
/---------------------------------------------------------------------------
BOOL
CScalarValuesList::Matches(COperator *pop) const
{
if (pop->Eopid() != Eopid())
{
return false;
}
return true;
}
/ EOF
相关信息
相关文章
greenplumn CExpressionFactorizer 源码
greenplumn CExpressionHandle 源码
greenplumn CExpressionPreprocessor 源码
greenplumn CExpressionUtils 源码