Try OpenEdge Now
skip to main content
Programming Interfaces
Database Administration Entity Collection Interface Reference : IPartitionMap interface : IPartitionMap methods
 

IPartitionMap methods

Inherits methods from IDataAdminCollection and defines the methods listed in the following table.
Table 132. Multi-tenant Maintenance IPartitionMap interface methods
Method syntax
Description
LOGICAL Allocate( )
Allocates all the partitions in the map.
LOGICAL ContainsKey ( obj AS ISchemaElement )
Returns TRUE if a partition object is mapped to a table, index, or field key specified by obj.
LOGICAL ContainsValue (
  partition AS IPartition )
Returns TRUE if the partition object referenced by partition is in the map.
IPartition FindField (
  pcTable AS CHARACTER ,
  pcField AS CHARACTER )
Returns the partition object from the map for the IField object whose Name property is set to pcField and represents a field in the table object whose Name property is set to pcTable. Returns the Unknown value (?) if the object is not found.
IPartition FindIndex (
  pcTable AS CHARACTER ,
  pcIndex AS CHARACTER ,
  pcCollation AS CHARACTER )
Returns the partition object from the map for the IIndex object whose Name property is set to pcIndex and represents an index in the table object whose Name property is set to pcTable and with the collation specified by pcCollation. Returns the Unknown value (?) if the object is not found.
IPartition FindTable( pcTable AS CHARACTER )
Returns the partition object from the map for the ITable object whose Name property is set to pcTable. Returns the Unknown value (?) if the object is not found.
IPartition Get( obj AS ISchemaElement )
Returns the partition object that is mapped to a table, index, or field key specified by obj. Returns the Unknown value (?) if the object is not found.
See also:
*IDataAdminCollection interface
*IField interface
*IIndex interface
*IPartition interface
*IPartitionCollection interface
*ISchemaElement interface
*IPartitionPolicyDetailSet interface
*ITable interface
*ITenant interface
*ITenantGroup interface