The constants provided by the DbFile class are listed in the following table.
Constant | Description | Integer Value |
---|---|---|
BackupBytesDoneEvent | File backup byte progress event | 1002 |
BackupErrorEvent | File backup error event | 1004 |
BackupOperationEvent | File backup operation event | 1001 |
BackupOutputEvent | File backup output event | 1003 |
BackupProgressEvent | File backup progress event | 1000 |
CryptStatus_Encrypted | Encrypted | 4 |
CryptStatus_Not | Not encrypted | 0 |
CryptStatus_Pending | Pending encryption or decryption | 1 |
CryptStatus_ReencryptPending | Pending re-encryption | 5 |
EnableAudit_NoCompress | Auditing is enabled | 1 |
GetTotLen_Base | Total length of base file | 1 |
GetTotLen_Partitions | Total length of partitions | 2 |
GetTotLen_SharedFileUDRs | Total length of shared file UDRs | 4 |
GetTotLen_SingleFileUDRs | Total length of shared file UDRs | 8 |
GetTotLen_Everything | Total length of all subfiles | 255 |
Kind_Control | Control files (_control and _reorg database files) | 1 |
Kind_Environmental | Environmental files (_locks, _environ, and _stats database files) | 2 |
Kind_System | System files (_system, _sysxrf, _sysgui, _sysint, _sysdev, _ systools, _ jadeapp, _ jadedef, and _sysdef database files) | 4 |
Kind_Unknown | Unknown (when detected, raises an exception) | 0 |
Kind_User_Data | User data files (_sindexes.dat, _sindexdefs.dat, and _rootdef database files; and additional database files defined in user schemas) | 32 |
Kind_User_Schema | User schema files (_userscm, _userxrf, _usergui, _userint, and _userdev database files) | 8 |
Kind_Utility | Utility files (_monitor and rpstrans database files) | 16 |
Mode_ReadOnly | Read-only database file access mode | 1 |
Mode_Update | Update database file access mode | 0 |
Status_DelEncrypted | Encrypted file deleted from the control file | 9 |
Status_Deleted | File deleted from the control file | 6 |
Status_InvalidPath | Invalid database file path in the control file | 7 |
Status_Missing | File defined in the schema but does not exist in the database | 3 |
Status_NotAssigned | File not defined in the control file | 1 |
Status_NotCreated | File deleted or not yet created | 2 |
Status_Offline | File is offline | 8 |
Status_Resident | File is resident on disk | 4 |
Status_Unmapped | File in RPS database that is not part of the RPS mapping | 5 |