DB2 Version 9.7 for Linux, UNIX, and Windows

db2DistMapStruct data structure

This structure is used by the db2GetDistMap API

Table 1. Fields in the db2DistMapStruct structure
Field Name Data Type Description
tname unsigned char Fully qualified table name.
partinfo db2PartitioningInfo This structure is used to store partitioning information, such as the distribution map and the distribution key of a table.

API and data structure syntax

SQL_STRUCTURE db2DistMapStruct
{
   unsigned char                       *tname;    /* Fully qualified table     */
                                                  /* name                      */
   struct db2PartitioningInfo          *partinfo; /* Partitioning              */
                                                  /* Information               */
};