DbFile Property and Methods

The partition-related property provided in the DbFile class is summarized in the following table.

Property Description
partitionable Specifies whether the DbFile instance can be partitioned (for example, to enforce partition file restrictions in a test or development system where the file is not physically partitioned)

The partition-related methods provided in the DbFile class are summarized in the following table.

Method Description
beginPartitionedFileBackup Begins the backup of selected database file partitions (backs up the partition control file and the partition index file)
createPartition Creates a new empty partition and returns the partition identifier
endPartitionedFileBackup Ends the backup of selected database file partitions
freeze Converts a file to read-only mode, after which no object update, delete, or create action is allowed
getOpenPartitions Populates the input partitionList array with references to JadeDbFilePartition instances
getPartition Returns the JadeDbFilePartition instance associated with the indexed partition
getPartitionCount Returns the number of non-removed partitions assigned to the file
getPartitionModulus Returns the number of partitions in which new instances are stored
getPartitions Populates the input partitionList array with JadeDbFilePartition instances
isFrozen Returns true if the database file has been frozen
isPartitioned Returns true if the database file is partitioned
setPartitionModulus Specifies the number of database partitions in which new instances are stored
setPartitioned Changes the partitioned attribute of an empty (non-instantiated) database file
thaw Restores the database file to its default active state