Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTTable::SetPartitionNumberBits

Set the number of bits used to store the raw partition number. By default, 16 bits of the 64-bit record offset are used to reference the raw partition number, allowing each partitioned file to support up to 65535 member files over its lifetime. This function (when called before creating the file) allows adjusting this. A value of 0 defaults to 16 bits, values less than 4 bits default to 4 bits (maximum 15 member files), and 32 bits is the maximum value.

Syntax

void CTTable::SetPartitionNumberBits(UCOUNT bitno)

Parameters

  • bitno [IN] - Number of bits to be used for raw partition number

Return

Void

See also

CTTable::SetPartitionIndexNbr CTTable:: CTTable::SetPartitionNumberBits CTTable::SetParitionRule CTTable::SetPartitionMaximumActive CTTable::GetPartitionIndexNbr

TOCIndex