Skip to main content

INFORMATION.SCHEMA.TABLEPARTITIONKEY

persistent class INFORMATION.SCHEMA.TABLEPARTITIONKEY extends %Library.Persistent [ Final ]

SQL Table Name: INFORMATION_SCHEMA.TABLE_PARTITION_KEY

Returns one row for each indexed field in the current namespace for tables that can be accessed by the current user in the current namespace.

Property Inventory

Parameters

parameter READONLY = 1;
Inherited description: READONLY = 1 means that objects can be created, opened but not saved or deleted. Tables are projected to SQL as READONLY.

Properties

property PARTITIONKEYCOLUMN as %String (COLLATION = "Upper", MAXLEN = 128) [ SqlFieldName = PARTITION_KEY_COLUMN ];
Name of column in the partition key.
Property methods: PARTITIONKEYCOLUMNDisplayToLogical(), PARTITIONKEYCOLUMNGet(), PARTITIONKEYCOLUMNIsValid(), PARTITIONKEYCOLUMNLogicalToDisplay(), PARTITIONKEYCOLUMNLogicalToOdbc(), PARTITIONKEYCOLUMNNormalize(), PARTITIONKEYCOLUMNSet()
property PARTITIONKEYGRANULARITY as %String (COLLATION = "Upper", MAXLEN = 7) [ SqlFieldName = PARTITION_KEY_GRANULARITY ];
Property methods: PARTITIONKEYGRANULARITYDisplayToLogical(), PARTITIONKEYGRANULARITYGet(), PARTITIONKEYGRANULARITYIsValid(), PARTITIONKEYGRANULARITYLogicalToDisplay(), PARTITIONKEYGRANULARITYLogicalToOdbc(), PARTITIONKEYGRANULARITYNormalize(), PARTITIONKEYGRANULARITYSet()
property PARTITIONKEYINTERVAL as %Integer [ SqlFieldName = PARTITION_KEY_INTERVAL ];
Property methods: PARTITIONKEYINTERVALDisplayToLogical(), PARTITIONKEYINTERVALGet(), PARTITIONKEYINTERVALIsValid(), PARTITIONKEYINTERVALLogicalToDisplay(), PARTITIONKEYINTERVALNormalize(), PARTITIONKEYINTERVALSet()
property PARTITIONKEYLEVEL as %SmallInt [ SqlFieldName = PARTITION_KEY_LEVEL ];
Column sequence number in partition key (starting with 1).
Property methods: PARTITIONKEYLEVELDisplayToLogical(), PARTITIONKEYLEVELGet(), PARTITIONKEYLEVELIsValid(), PARTITIONKEYLEVELLogicalToDisplay(), PARTITIONKEYLEVELNormalize(), PARTITIONKEYLEVELSet()
property PARTITIONKEYTYPE as %String [ SqlFieldName = PARTITION_KEY_TYPE ];
Type of partition key (RANGE, LIST, HASH)
Property methods: PARTITIONKEYTYPEDisplayToLogical(), PARTITIONKEYTYPEGet(), PARTITIONKEYTYPEIsValid(), PARTITIONKEYTYPELogicalToDisplay(), PARTITIONKEYTYPELogicalToOdbc(), PARTITIONKEYTYPENormalize(), PARTITIONKEYTYPESet()
property TABLECATALOG as %String (MAXLEN = 128) [ Calculated , SqlFieldName = TABLE_CATALOG ];
Table qualifier - always NULL in InterSystems IRIS.
Property methods: TABLECATALOGCompute(), TABLECATALOGDisplayToLogical(), TABLECATALOGGet(), TABLECATALOGIsValid(), TABLECATALOGLogicalToDisplay(), TABLECATALOGLogicalToOdbc(), TABLECATALOGNormalize(), TABLECATALOGSQLCompute()
property TABLENAME as %String (COLLATION = "Upper", MAXLEN = 128) [ SqlFieldName = TABLE_NAME , Required ];
Name of the table.
Property methods: TABLENAMEDisplayToLogical(), TABLENAMEGet(), TABLENAMEIsValid(), TABLENAMELogicalToDisplay(), TABLENAMELogicalToOdbc(), TABLENAMENormalize(), TABLENAMESet()
property TABLESCHEMA as %String (COLLATION = "Upper", MAXLEN = 128) [ SqlFieldName = TABLE_SCHEMA , Required ];
Name of schema that contains the table.
Property methods: TABLESCHEMADisplayToLogical(), TABLESCHEMAGet(), TABLESCHEMAIsValid(), TABLESCHEMALogicalToDisplay(), TABLESCHEMALogicalToOdbc(), TABLESCHEMANormalize(), TABLESCHEMASet()

Inherited Members

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: SQLStorage

Maps: 1

  • Map number 1 is named Master

    thismap.Global: ^oddSQL

  • ^oddSQL({SchemaExact},{TableExact},{Sequence})
    =
    Node Delimiter Piece Name
    TABLE_SCHEMA
    1 PARTITION_KEY_COLUMN
    2 PARTITION_KEY_TYPE
    3 PARTITION_KEY_INTERVAL
    4 PARTITION_KEY_GRANULARITY
FeedbackOpens in a new tab