Using Caché Objects - InterSystems Documentation
Using Caché Objects - InterSystems Documentation
Using Caché Objects - InterSystems Documentation
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Indices<br />
Data<br />
Specifies additional properties to store in the index. By default, no additional data is<br />
included.<br />
Description<br />
Extent<br />
Provides an optional description of the index; <strong>Caché</strong> does not use this description.<br />
By default, indexes have no description.<br />
Specifies that the index identifies which objects belong to the extent of the class.<br />
Extent indexes do not contain properties; they are strictly used to identify members<br />
of the extent. By default, an index is not an extent index. If you are using bitmap<br />
indices, there is no need to define an extent index: a bitmap extent index is automatically<br />
maintained whenever any bitmap index is defined.<br />
IDKey<br />
Specifies a property or set of properties to use as the ID portion of the OID instead<br />
of the default ID. An ID key must have unique values for each object in the class.<br />
These values cannot change over the life of the objects. By default, an index is not<br />
an ID key.<br />
PrimaryKey<br />
Properties<br />
Specifies that this index is reported as the Primary Key to SQL. Any index defined<br />
as a primary key must contain unique values for each object. By default, an index is<br />
not a primary key.<br />
Specifies the property or list of properties to include and sort upon in the index. An<br />
index must include at least one property.<br />
Type<br />
Specifies whether this is a standard index (the default) or a bitmap index.<br />
Unique<br />
Specifies that each object has a unique value for the property or combination of<br />
properties in the index. By default, an index is not constrained to unique values. You<br />
cannot use the unique keyword with a bitmap index.<br />
64 <strong>Using</strong> <strong>Caché</strong> <strong>Objects</strong>