greenplumn CDXLScalarRecheckCondFilter 源码

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

greenplumn CDXLScalarRecheckCondFilter 代码

文件路径:/src/backend/gporca/libnaucrates/include/naucrates/dxl/operators/CDXLScalarRecheckCondFilter.h

//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2014 VMware, Inc. or its affiliates.
//
//	@filename:
//		CDXLScalarRecheckCondFilter.h
//
//	@doc:
//		Filter for rechecking an index condition on the operator upstream of the index scan
//
//	@owner:
//
//
//	@test:
//
//---------------------------------------------------------------------------

#ifndef GPDXL_CDXLScalarRecheckCondFilter_H
#define GPDXL_CDXLScalarRecheckCondFilter_H

#include "gpos/base.h"

#include "naucrates/dxl/operators/CDXLScalarFilter.h"

namespace gpdxl
{
//---------------------------------------------------------------------------
//	@class:
//		CDXLScalarRecheckCondFilter
//
//	@doc:
//		Filter for rechecking an index condition on the operator upstream of the bitmap index scan
//
//---------------------------------------------------------------------------
class CDXLScalarRecheckCondFilter : public CDXLScalarFilter
{
private:
public:
	CDXLScalarRecheckCondFilter(CDXLScalarRecheckCondFilter &) = delete;

	// ctor
	explicit CDXLScalarRecheckCondFilter(CMemoryPool *mp) : CDXLScalarFilter(mp)
	{
	}

	// operator identity
	Edxlopid
	GetDXLOperator() const override
	{
		return EdxlopScalarRecheckCondFilter;
	}

	// operator name
	const CWStringConst *GetOpNameStr() const override;

	// does the operator return a boolean result
	BOOL
	HasBoolResult(CMDAccessor *	 //md_accessor
	) const override
	{
		GPOS_ASSERT(!"Invalid function call for a container operator");
		return false;
	}

	// conversion function
	static CDXLScalarRecheckCondFilter *
	Cast(CDXLOperator *dxl_op)
	{
		GPOS_ASSERT(nullptr != dxl_op);
		GPOS_ASSERT(EdxlopScalarRecheckCondFilter == dxl_op->GetDXLOperator());

		return dynamic_cast<CDXLScalarRecheckCondFilter *>(dxl_op);
	}
};
}  // namespace gpdxl

#endif	// !GPDXL_CDXLScalarRecheckCondFilter_H

// EOF

相关信息

greenplumn 源码目录

相关文章

greenplumn CDXLColDescr 源码

greenplumn CDXLColRef 源码

greenplumn CDXLCtasStorageOptions 源码

greenplumn CDXLDatum 源码

greenplumn CDXLDatumBool 源码

greenplumn CDXLDatumGeneric 源码

greenplumn CDXLDatumInt2 源码

greenplumn CDXLDatumInt4 源码

greenplumn CDXLDatumInt8 源码

greenplumn CDXLDatumOid 源码

0  赞