Application Programming Interface Guide > Introduction > Groups of Procedures > Resource Procedures
 
Resource Procedures
The resource procedures are found in the resource tree under /lib/resource. They are:
CancelDataSourceReintrospect, which cancels an in-progress, non-blocking reintrospection process that was started using ReintrospectDataSource.
ClearResourceCache, which clears the cache on a resource.
ClearResourceStatistics, which clears the statistics on a resource.
CopyResource, which copies a resource into a folder using a new name.
CreateResourceCacheKey, which creates a cache key for a given resource.
ExplainAttributes, which retrieves the list of attributes of the data sources included in a resource. (This procedure is also listed with Deployment Procedures.)
ExplainResources, which retrieves the list of resources in a resource set. (This procedure is also listed with Deployment Procedures.)
GetColumnDependencies, which retrieves the column dependencies of a view. (This procedure is also listed with Lineage Procedures.)
GetColumnReferences, which retrieves the column references of a view, table or procedure. (This procedure is also listed with Lineage Procedures.)
GetDataSourceReintrospectReport, which gets the report for a reintrospection, if available.
GetPrincipalSet, which retrieves the list of principals included in a principal set. (This procedure is also listed with Deployment Procedures.)
GetResourceSet, which retrieves the list of resources included in a resource set. (This procedure is also listed with Deployment Procedures.)
ListAttributes, which retrieves the attribute list for a specified resource set on a given site. (This procedure is also listed with Deployment Procedures.)
ListResources, which retrieves the list of resources included in the specified resource set. (This procedure is also listed with Deployment Procedures.)
LoadResourceCacheStatus, which loads the status for a resource cache.
MoveResource, which moves a resource into a folder using a new name.
PreviewResourceSet, which retrieves the list of resource changes since the last deployment of the specified resource set, by the specified deployment plan. (This procedure is also listed with Deployment Procedures.)
RefreshResourceCache, which refreshes the cache for a view or table resource.
RefreshResourceCacheSynchronously, which refreshes the cache on a TABLE resource synchronously.
RefreshResourceStatistics, which refreshes the statistics on a resource for use by the cost-based optimizer.
ReintrospectDataSource, which performs a reintrospection of a data source.
RenameResource, which renames a resource.
ResourceExists, which checks to see if a resource exists.
SendResultsInEMail, which sends an email message with specified headers and content, and with the results of the given view or procedure as attachments.
SqlPerf, which runs a SQL performance test.
TestAllDataSourceConnections, which tests all data sources to see if they are operational.
TestDataSourceConnection, which tests a specific data source to see if it is operational.
UpdateResourceCacheEnabled, which updates the enabled state of a resource cache.
UpdateResourceCacheKeyStatus, which updates the cache key for a specified resource of type TABLE, or of type PROCEDURE with zero parameters.
UpdateResourceEnabled, which updates the enabled state of a DATA_SOURCE resource.