# Index- Class

**URL:** <https://forums.pega.com/t/index-class/3604>\
**Category:** General\
**Tags:** business-simulations, communications-and-media, system-administration, system-architect, pega-platform\
**Created:** [December 5, 2022, 7:08am UTC](https://forums.pega.com/t/index-class/3604 "2022-12-05T07:08:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AbhishekC1725](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@AbhishekC1725](https://forums.pega.com/u/AbhishekC1725)\
**Post date:** [December 5, 2022, 7:08am UTC](https://forums.pega.com/t/index-class/3604/1 "2022-12-05T07:08:32Z")

</div>

Hi,

I want to ask question about Index- as Parent class.

I have one class, whose Parent class in Index-

Index-C-P-Data-Delivery

Can someone explain when we use Index- as parent class.

---

<div class="post-metadata">

**Author:** ![mrits1](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/mrits1/32/12113_2.png) [@mrits1](https://forums.pega.com/u/mrits1)\
**Post date:** [December 5, 2022, 10:02am UTC](https://forums.pega.com/t/index-class/3604/2 "2022-12-05T10:02:37Z")

</div>

@AbhishekC1725 Hi

The Index- is an abstract class which will be used as a derived from class for many concrete classes which is used for defining indexes. For more details check the below link

[https://community.pega.com/sites/default/files/help\_v85/index.htm#oxy\_ex-1/platform-helpsystem/definitions/i/indexbaseclass.htm](https://community.pega.com/sites/default/files/help_v85/index.htm#oxy_ex-1/platform-helpsystem/definitions/i/indexbaseclass.htm)

---

<div class="post-metadata">

**Author:** ![ArulDevan](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/aruldevan/32/16328_2.png) [@ArulDevan](https://forums.pega.com/u/ArulDevan)\
**Post date:** [December 5, 2022, 10:28am UTC](https://forums.pega.com/t/index-class/3604/3 "2022-12-05T10:28:55Z")

</div>

Hi @AbhishekC1725: Index- Classes will be used when you create declare index in PEGA. It is mandatory that the index class to write should be inherited from Index- class.

Please see [About Declare Index rules](https://community.pega.com/sites/pdn.pega.com/files/help_v731/rule-/rule-declare-/rule-declare-index/main.htm) for details about declare index.

UserRoles is an example of declare index.

Thanks

---

<div class="post-metadata">

**Author:** ![AbhishekC1725](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@AbhishekC1725](https://forums.pega.com/u/AbhishekC1725)\
**Post date:** [December 6, 2022, 4:53pm UTC](https://forums.pega.com/t/index-class/3604/4 "2022-12-06T16:53:37Z")

</div>

@ArulDevan Thanks for this

---

<div class="post-metadata">

**Author:** ![AbhishekC1725](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@AbhishekC1725](https://forums.pega.com/u/AbhishekC1725)\
**Post date:** [December 6, 2022, 4:53pm UTC](https://forums.pega.com/t/index-class/3604/5 "2022-12-06T16:53:18Z")

</div>

@SrinidhiM Thanks for this
