greenplumn CParseHandlerDummy 源码

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

greenplumn CParseHandlerDummy 代码

文件路径:/src/backend/gporca/libnaucrates/include/naucrates/dxl/parser/CParseHandlerDummy.h

//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2010 Greenplum, Inc.
//
//	@filename:
//		CParseHandlerDummy.h
//
//	@doc:
//		Dummy SAX parse handler used for validation of XML documents.
//---------------------------------------------------------------------------

#ifndef GPDXL_CParseHandlerDummy_H
#define GPDXL_CParseHandlerDummy_H

#include <xercesc/sax2/DefaultHandler.hpp>

#include "gpos/base.h"

namespace gpdxl
{
using namespace gpos;

XERCES_CPP_NAMESPACE_USE

class CDXLMemoryManager;

//---------------------------------------------------------------------------
//	@class:
//		CParseHandlerDummy
//
//	@doc:
//		Dummy parse handler for validation of XML documents.
//
//---------------------------------------------------------------------------
class CParseHandlerDummy : public DefaultHandler
{
private:
	// memory manager to use for Xerces allocation
	CDXLMemoryManager *m_dxl_memory_manager;

public:
	// ctor
	explicit CParseHandlerDummy(CDXLMemoryManager *dxl_memory_manager);

	// process a parsing error
	void error(const SAXParseException &sax_parse_ex) override;
};
}  // namespace gpdxl

#endif	// !GPDXL_CParseHandlerDummy_H

// EOF

相关信息

greenplumn 源码目录

相关文章

greenplumn CParseHandlerAgg 源码

greenplumn CParseHandlerAppend 源码

greenplumn CParseHandlerArray 源码

greenplumn CParseHandlerAssert 源码

greenplumn CParseHandlerBase 源码

greenplumn CParseHandlerBroadcastMotion 源码

greenplumn CParseHandlerCTEConfig 源码

greenplumn CParseHandlerCTEList 源码

greenplumn CParseHandlerColDescr 源码

greenplumn CParseHandlerColStats 源码

0  赞