Skip to main content

Index Syntax and Keywords

This reference describes the syntax and keywords that apply to an index, which you can define in persistent classes.

  • Syntax of Indexes in Class Definitions – Describes the structure of an index definition.
  • Abstract – Specifies that an index is abstract.
  • Condition – Defines a conditional index and specifies the condition that must be met for a record to be included in the index.
  • CoshardWith – Adds an index that specifies the name of the class with which this class is cosharded.
  • Data – Specifies a list of properties whose values are to be stored within this index.
  • Extent – Defines an extent index.
  • IdKey – Specifies whether this index defines the Object Identity values for the table.
  • Internal – Specifies whether this index definition is internal (not displayed in the class documentation).
  • PrimaryKey – Specifies whether this index defines the primary key for the table.
  • ShardKey – Defines an index that specifies the shard key for this class.
  • SqlName – Specifies an SQL alias for the index.
  • Type – Specifies the type of index.
  • Unique – Specifies whether the index should enforce uniqueness.
FeedbackOpens in a new tab