CCatalogUtils.h 828 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2011 Greenplum, Inc.
//
//	@filename:
//		CCatalogUtils.h
//
//	@doc:
//		Routines to extract interesting information from the catalog
//
//	@test:
//
//
//---------------------------------------------------------------------------

#ifndef CCatalogUtils_H
#define CCatalogUtils_H

#include "gpdbdefs.h"


J
Jesse Zhang 已提交
22 23 24 25 26
class CCatalogUtils
{
private:
	// return list of relation oids_list in catalog
	static List *GetRelationOids();
27

J
Jesse Zhang 已提交
28 29
	// return list of operator oids_list in catalog
	static List *GetOperatorOids();
30

J
Jesse Zhang 已提交
31 32
	// return list of function oids_list in catalog
	static List *GetFunctionOids();
33

J
Jesse Zhang 已提交
34 35 36
public:
	// return list of all object oids_list in catalog
	static List *GetAllOids();
37 38
};

J
Jesse Zhang 已提交
39
#endif	// CCatalogUtils_H
40 41

// EOF