setMaxPartitionId

setMaxPartitionId(partitionId: Integer64);

The setMaxPartitionId method of the DbFile class specifies the maximum partition ID for the database file. The unique partition identifier (partitionID) is a positive integer in the range 1 through 2^32-15. (Note that 15 instances are reserved.)

The purpose of the setMaxPartitionId method is to establish an upper boundary for partition IDs when using methods such as the Object class setPartitionID method to direct a newly created object to a specific partition. The maximum partition ID serves two purposes: range checking and resource allocation.