IPartitionPolicy properties

Inherits properties from IPartitionParent and defines the properties listed in the following tables:

Table 1. IPartitionParent interface inherited properties with different behavior than super class
Property name Data type Access Description
DefaultAllocation LOGICAL Readable, Writeable Valid values are "None" and "Immediate".
Table 2. Table partition policy interface properties
Property name Data type Access Description
HasComposite LOGICAL Read-only Returns TRUE if any partition policy detail has partitions in a composite partition.
HasRange LOGICAL Readable, Writeable Set to TRUE (the default) if the policy is a range policy (partitions based on ranges of values).

Set to FALSE in order to prevent mapping data to partitions based on a range of a values. You cannot edit the property after the policy has been created in the database.

IsCompositeReadOnly LOGICAL Readable, Writeable Set to TRUE to mark a composite partition as read-only.Note: An error is thrown if you set this property to TRUE for a partition policy without composite partitions.
IsReadOnly LOGICAL Readable, Writeable Set to TRUE to mark a partition policy as read-only.Note: Currently, this property returns FALSE. Setting this property throws an error.
NumFields INTEGER Read-only Returns the number of fields and values that are used to define the partitions of a table.
Table ITable Read-only Returns the parent table of the field.

This is editable only when the partition policy is new and has not been assigned to a table's partition policy. You cannot edit the property after the policy has been created in the database.

Fields IFieldSet Read-only Returns a collection containing the fields in the index.The values of the fields are used to define the partitions of the table.

The user must add at least one IField to the collection before creating the policy. The collection cannot be edited after the policy is created.

Details IPartitionPolicyDetailSet Read-only Returns a collection containing the details of the partition policy.The values of the policy are used to define the partitions of the table.

Policy details along with their values can be added to the collection at any time, as long as the new value does not need to be split.