getTotalFileLength64

getTotalFileLength64(selector: Integer): Integer64;

The getTotalFileLength64 method of the JadeDbFilePartition class returns the total bytes occupied by a database map file partition, including Unstructured Data Resource (UDR) files.

The value of the selector parameter is a bitmask that defines which subfile types to include in the bytes total. One or more of the first four of the following DbFile class constants values can be added together to give a subtotal.

DbFile Class Constant Integer Value Partition
GetTotLen_Base 1 X_partNNNNNNNNNN.dat
GetTotLen_Partitions 2 0
GetTotLen_SharedFileUDRs 4 X_partNNNNNNNNNN_udr.dat
GetTotLen_SingleFileUDRs (8) 8 Sum(X_partNNNNNNNNNN_udr[<oid>].dat)
GetTotLen_Everything (255) 255 Sum of all subfiles

The X value represents the map file name and the NNNNNNNNNN value represents a partition number.