You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Public Methods

MethodDescription
AddAdd a new TableRangePartition object. PARAMETERS: Name (String), StartValue (String), EndValue (String).
AddColumnToDistributionKey(IBM DB2 UDB 9.x only) Use to add another column to the distribution key. PARAMETERS: Name (String).
AddColumnToPartitionKeyUse to add another column to the partition key. PARAMETERS: Name (String).
AddRangeAutomatically generate a range of table partitions. PARAMETERS: StartValue (String), StartValueInclusive (Boolean), EndValue (String), EndValueInclusive (Boolean), RangeWidth (Number), DurationLabel (String), Tablespace (String), Long Tablespace (String).
DeleteColumnFromDistributionKey(IBM DB2 UDB 9.x only) Use to delete a column from the distribution key. Cannot delete last column in key. PARAMETERS: Name (String).
DeleteColumnFromPartitionKeyUse to delete a column from the partition key. Cannot delete last column in key. PARAMETERS: Name (String).
DeleteDistributionKey(IBM DB2 UDB 9.x only) Use this method to delete all columns in the distribution key. This also deletes all distributions key.
DeletePartitionKeyUse this method to delete all columns in the partition key. This also deletes all partitions key.
GetDistributionColumnNumber(IBM DB2 UDB 9.x only) Looks for the column in the distribution key. If it finds it, it returns the column's number. PARAMETERS: Name of the distribution column (String). RETURN DATATYPE: Integer.
GetNullsOrderForPartitionColumnLooks for the column in the partition key. If it finds it, it returns the column's Nulls Order. PARAMETERS: Name of the partition column (String). RETURN DATATYPE: String.
GetPartitionColumnNumberLooks for the column in the partition key. If it finds it, it returns the column's number. PARAMETERS: Name of the partition column (String). RETURN DATATYPE: Integer.
RemoveRemove a TableRangePartition specified by the given Number. PARAMETERS: Number (Integer).
RemoveByNameRemove the TableRangePartition specified by the given Name. PARAMETERS: Name (String).
SetDistributionColumnNumber(IBM DB2 UDB 9.x only) Use to change the sequence of the columns in the partition key by setting the number of a column. PARAMETERS: Name of the partition column (String), Number (Integer).
SetNullsOrderForPartitionColumnUse to set the Nulls Order for the given column if the column is found in the partition key. PARAMETERS: Name of the partition column (String), Nulls Order (String).
SetPartitionColumnNumberUse to change the sequence of the columns in the partition key by setting the number of a column. PARAMETERS: Name of the partition column (String), Number (Integer).

Public Properties

PropertyDescription

Returns a DB2UDBTableRangePartitions object specified by the given Identifier (GUID or Number). PARAMETERS: Identifier (String or Integer).



Number of DB2UDBTableRangePartitions objects in the collection. DATATYPE: Integer.

(IBM DB2 UDB 9.x only) String with the names of the columns in the DistributionKey as a comma-separated list in sequence order. DATATYPE: String.

String with the names of the columns in the PartitionKey as a comma-separated list in sequence order. DATATYPE: String.

Returns a DB2UDBTableRangePartitions object specified by the given Identifier (GUID or Number). PARAMETERS: Identifier (String or Integer).
  • No labels