Oracle DBMS_DBFS_CONTENT_SPI Version 21c |
---|
General Information | |||||||
Library Note |
|
||||||
Purpose | Private types and constants tore providers must conform to. The SPI is not a client-side API and serves as a private contract between the implementation of the DBFS API and various stores that wish to be pluggable into it. The DBFS API defines client-visible behavior (normal and exceptional) of various store operations, while allowing different stores to implement as rich a set of features as they choose. The API allows stores to self-describe their capabilities and allows intelligent client applications to tune their behavior based on these capabilities (rather than hard-code logic specific to stores identified by name or by implementation). The SPI has 2 space usage methods: "spaceUsage()" and "spaceUsageFull()". The difference between the two is that the latter function should implement a "bulk" API ---i.e. the ability to query and aggregate space usage information for all stores specified as the "propvalue" fields of the "store_names" property list (the other fields of the property list can be ignored). If the SPI does not support the "bulk" aggregation API, the DBFS API will itself do the necessary iteration and aggregation, however, at the risk of inaccurate data due to potential double-counting. |
||||||
AUTHID | DEFINER | ||||||
Dependencies |
|
||||||
Documented | Yes: Packages and Types Reference | ||||||
Exceptions |
|
||||||
First Available | Not known but in 11gR2 | ||||||
Security Model | Owned by SYS with no privileges granted | ||||||
Source | {ORACLE_HOME}/rdbms/admin/dbmscapi.sql | ||||||
Subprograms |
|
||||||
CHECKACCESS | |||||||
Undocumented | dbms_dbfs_content_spi.checkAccess( |
||||||
TBD | |||||||
CREATEDIRECTORY | |||||||
Undocumented | dbms_dbfs_content_spi.createDirectory( |
||||||
TBD | |||||||
CREATEFILE | |||||||
Undocumented | dbms_dbfs_content_spi.createFile( |
||||||
TBD | |||||||
CREATEGETATTRVIEW | |||||||
Providers that are willing/able to create a fastpath lookup view (whose structure conforms to the schema of "dbms_fuse.dir_entry_t") should define "createGetattrView()" and "dropGetattrView()" methods, and create/drop the underlying view as needed. | dbms_dbfs_content_spi.createGetAttrView( |
||||||
TBD | |||||||
CREATELINK | |||||||
Undocumented | dbms_dbfs_content_spi.createLink( |
||||||
TBD | |||||||
CREATEREFERENCE | |||||||
Undocumented | dbms_dbfs_content_spi.createReference( |
||||||
TBD | |||||||
DELETECONTENT | |||||||
Delete Store Content | dbms_dbfs_content_spi.deleteContent( |
||||||
TBD | |||||||
DELETEDIRECTORY | |||||||
Delete Store Directory | dbms_dbfs_content_spi.deleteDirectory( |
||||||
TBD | |||||||
DELETEFILE | |||||||
Delete Store File | dbms_dbfs_content_spi.deleteFile( |
||||||
TBD | |||||||
DROPGETATTRVIEW | |||||||
Drop a Get Attributes view | dbms_dbfs_content_spi.dropGetAttrView( |
||||||
TBD | |||||||
GETFEATURES | |||||||
Undocumented | dbms_dbfs_content_spi.getFeatures(store_name IN VARCHAR2) |
||||||
TBD | |||||||
GETPATH | |||||||
Undocumented Overload 1 |
dbms_dbfs_content_spi.getPath( |
||||||
TBD | |||||||
Overload 2 | dbms_dbfs_content_spi.getPath( |
||||||
TBD | |||||||
Overload 3 | dbms_dbfs_content_spi.getPath( |
||||||
TBD | |||||||
GETPATHBYSTOREID | |||||||
Lookup pathnames by (store_name, std_guid) or (store_mount, std_guid) tuples | dbms_dbfs_content_spi.getPathByStoreID( |
||||||
TBD | |||||||
GETPATHNOWAIT | |||||||
Returns the path or, if locked, returns ORA-00054 | dbms_dbfs_content_spi.getPathNoWait( |
||||||
TBD | |||||||
GETSTOREID | |||||||
RETURNs a provider specific store identifier | dbms_dbfs_content_spi.getStoreID(store_name IN VARCHAR2) |
||||||
TBD | |||||||
GETVERSION | |||||||
RETURNs the version of a store based on a standard naming convention | dbms_dbfs_content_spi.getVersion(store_name IN VARCHAR2) |
||||||
TBD | |||||||
ISPATHLOCKED | |||||||
Undocumented | dbms_dbfs_content_spi.isPathLocked( |
||||||
TBD | |||||||
LIST | |||||||
Undocumented | dbms_dbfs_content_spi.list( |
||||||
TBD | |||||||
LISTCURSOR | |||||||
Undocumented | dbms_dbfs_content_spi.listCursor( |
||||||
TBD | |||||||
LOCKPATH | |||||||
Undocumented Overload 1 |
dbms_dbfs_content_spi.lockpath( |
||||||
TBD | |||||||
Overload 2 | dbms_dbfs_content_spi.lockPath( |
||||||
TBD | |||||||
MOVEPATH | |||||||
Undocumented | dbms_dbfs_content_spi.movePath( |
||||||
TBD | |||||||
PURGEALL | |||||||
Undocumented | dbms_dbfs_content_spi.purgeAll( |
||||||
TBD | |||||||
PURGEPATH | |||||||
Undocumented | dbms_dbfs_content_spi.purgePath( |
||||||
TBD | |||||||
PUTPATH | |||||||
Undocumented Overload 1 |
dbms_dbfs_content_spi.putPath( |
||||||
TBD | |||||||
Overload 2 | dbms_dbfs_content_spi.putPath( |
||||||
TBD | |||||||
Overload 3 | dbms_dbfs_content_spi.putPath( |
||||||
TBD | |||||||
RENAMEPATH | |||||||
Undocumented | dbms_dbfs_content_spi.renamePath( |
||||||
TBD | |||||||
RESTOREALL | |||||||
Undocumented | dbms_dbfs_content_spi.restoreAll( |
||||||
TBD | |||||||
RESTOREPATH | |||||||
Undocumented | dbms_dbfs_content_spi.restorePath( |
||||||
TBD | |||||||
SEARCH | |||||||
Undocumented | dbms_dbfs_content_spi.search( |
||||||
TBD | |||||||
SETPATH | |||||||
Undocumented | dbms_dbfs_content_spi.setPath( |
||||||
TBD | |||||||
SPACEUSAGE | |||||||
Clients can query filesystem space usage statistics via the"spaceUsage()" method. Store providers, IN turn, are expected to support at least the "spaceUsage()" method for their stores
(and to make a best effort determination of space usagem esp. if the store consists of multiple segments scattered across multiple tablespaces/datafiles/disk-groups, etc.). Overload 1 |
dbms_dbfs_content_spi.spaceUsage( |
||||||
TBD | |||||||
Overload 2 | dbms_dbfs_content_spi.spaceUsage( |
||||||
TBD | |||||||
SPACEUSAGEFULL | |||||||
Similar to SpaceUsage this proc should implement a "bulk" API, i.e. the ability to query and aggregate space usage information for all stores specified as the "propvalue"
fields of the "store_names" property list (the other fields of the property list can be ignored). Overload 1 |
dbms_dbfs_content_spi.spaceUsageFull( |
||||||
TBD | |||||||
Overload 2 | dbms_dbfs_content_spi.spaceUsageFull( |
||||||
TBD | |||||||
UNLOCKPATH | |||||||
Undocumented Overload 1 |
dbms_dbfs_content_spi.unlockPath( |
||||||
TBD | |||||||
Overload 2 | dbms_dbfs_content_spi.unlockPath( |
||||||
TBD |
Related Topics |
Built-in Functions |
Built-in Packages |
DBMS_DBFS_CONTENT |
DBMS_DBFS_CONTENT_ADM |
DBMS_DBFS_HS |
DBMS_DBFS_SFS |
DBMS_DBFS_SFS_ADMIN |
What's New In 21c |
What's New In 23c |
This site is maintained by Dan Morgan. Last Updated: | This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2023 Daniel A. Morgan All Rights Reserved | |||||||||
|
||||||||||