Resource Procedures
The resource procedures are found in the resource tree under /lib/resource. They are:
| • | CancelDataSourceReintrospect, page 268, which cancels an in-progress, non-blocking reintrospection process that was started using ReintrospectDataSource, page 313. |
| • | ClearResourceCache, page 271, which clears the cache on a resource. |
| • | ClearResourceStatistics, page 272, which clears the statistics on a resource. |
| • | CopyResource, page 273, which copies a resource into a folder using a new name. |
| • | CreateResourceCacheKey, page 276, which creates a cache key for a given resource. |
| • | ExplainAttributes, page 280, which retrieves the list of attributes of the data sources included in a resource. (This procedure is also listed with Deployment Procedures.) |
| • | ExplainResources, page 281, which retrieves the list of resources in a resource set. (This procedure is also listed with Deployment Procedures.) |
| • | GetColumnDependencies, page 284, which retrieves the column dependencies of a view. (This procedure is also listed with Lineage Procedures.) |
| • | GetColumnReferences, page 288, which retrieves the column references of a view, table or procedure. (This procedure is also listed with Lineage Procedures.) |
| • | GetDataSourceReintrospectReport, page 289, which gets the report for a reintrospection, if available. |
| • | GetPrincipalSet, page 293, which retrieves the list of principals included in a principal set. (This procedure is also listed with Deployment Procedures.) |
| • | GetResourceSet, page 298, which retrieves the list of resources included in a resource set. (This procedure is also listed with Deployment Procedures.) |
| • | ListAttributes, page 299, which retrieves the attribute list for a specified resource set on a given site. (This procedure is also listed with Deployment Procedures.) |
| • | ListResources, page 301, which retrieves the list of resources included in the specified resource set. (This procedure is also listed with Deployment Procedures.) |
| • | LoadResourceCacheStatus, page 302, which loads the status for a resource cache. |
| • | MoveResource, page 305, which moves a resource into a folder using a new name. |
| • | PreviewResourceSet, page 307, 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, page 310, which refreshes the cache for a view or table resource. |
| • | RefreshResourceCacheSynchronously, page 311, which refreshes the cache on a TABLE resource synchronously. |
| • | RefreshResourceStatistics, page 312, which refreshes the statistics on a resource for use by the cost-based optimizer. |
| • | ReintrospectDataSource, page 313, which performs a reintrospection of a data source. |
| • | RenameResource, page 313, which renames a resource. |
| • | ResourceExists, page 314, which checks to see if a resource exists. |
| • | SendResultsInEMail, page 320, which sends an email message with specified headers and content, and with the results of the given view or procedure as attachments. |
| • | SqlPerf, page 330, which runs a SQL performance test. |
| • | TestAllDataSourceConnections, page 331, which tests all data sources to see if they are operational. |
| • | TestDataSourceConnection, page 331, which tests a specific data source to see if it is operational. |
| • | UpdateResourceCacheEnabled, page 333, which updates the enabled state of a resource cache. |
| • | UpdateResourceCacheKeyStatus, page 334, which updates the cache key for a specified resource of type TABLE, or of type PROCEDURE with zero parameters. |
| • | UpdateResourceEnabled, page 335, which updates the enabled state of a DATA_SOURCE resource. |