greenplumn CParseHandlerPhysicalDML 源码
greenplumn CParseHandlerPhysicalDML 代码
文件路径:/src/backend/gporca/libnaucrates/include/naucrates/dxl/parser/CParseHandlerPhysicalDML.h
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CParseHandlerPhysicalDML.h
//
// @doc:
// Parse handler for parsing a physical DML operator
//
//---------------------------------------------------------------------------
#ifndef GPDXL_CParseHandlerPhysicalDML_H
#define GPDXL_CParseHandlerPhysicalDML_H
#include "gpos/base.h"
#include "naucrates/dxl/operators/CDXLPhysicalDML.h"
#include "naucrates/dxl/parser/CParseHandlerPhysicalOp.h"
namespace gpdxl
{
using namespace gpos;
XERCES_CPP_NAMESPACE_USE
//---------------------------------------------------------------------------
// @class:
// CParseHandlerPhysicalDML
//
// @doc:
// Parse handler for parsing a physical DML operator
//
//---------------------------------------------------------------------------
class CParseHandlerPhysicalDML : public CParseHandlerPhysicalOp
{
private:
// operator type
EdxlDmlType m_dxl_dml_type;
// source col ids
ULongPtrArray *m_src_colids_array;
// action column id
ULONG m_action_colid;
// oid column id
ULONG m_oid_colid;
// ctid column id
ULONG m_ctid_colid;
// segmentId column id
ULONG m_segid_colid;
// needs data to be sorted
BOOL m_input_sort_req;
// Split Update
BOOL m_fSplit;
// process the start of an element
void StartElement(
const XMLCh *const element_uri, // URI of element's namespace
const XMLCh *const element_local_name, // local part of element's name
const XMLCh *const element_qname, // element's qname
const Attributes &attr // element's attributes
) override;
// process the end of an element
void EndElement(
const XMLCh *const element_uri, // URI of element's namespace
const XMLCh *const element_local_name, // local part of element's name
const XMLCh *const element_qname // element's qname
) override;
// parse the dml type from the attribute value
static EdxlDmlType GetDmlOpType(const XMLCh *xmlszDmlType);
public:
CParseHandlerPhysicalDML(const CParseHandlerPhysicalDML &) = delete;
// ctor
CParseHandlerPhysicalDML(CMemoryPool *mp,
CParseHandlerManager *parse_handler_mgr,
CParseHandlerBase *parse_handler_root);
};
} // namespace gpdxl
#endif // !GPDXL_CParseHandlerPhysicalDML_H
// EOF
相关信息
相关文章
greenplumn CParseHandlerAgg 源码
greenplumn CParseHandlerAppend 源码
greenplumn CParseHandlerArray 源码
greenplumn CParseHandlerAssert 源码
greenplumn CParseHandlerBase 源码
greenplumn CParseHandlerBroadcastMotion 源码
greenplumn CParseHandlerCTEConfig 源码
greenplumn CParseHandlerCTEList 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦