A CDS entity is a table with a set of data elements that are organized using columns and rows.
You can create entities at the model root, under a HANA package, or under a context.
Property |
Description |
---|---|
Name/Code/Comment |
Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is generated from the name by applying the naming conventions specified in the model options. To decouple name-code synchronization, click to release the = button to the right of the Code field. |
Schema |
[CDS Repository: entities created at root or in a HANA package] Specifies the schema to which the entity belongs. |
Type |
Specifies the type of the generated table. You can choose between:
|
Unload priority |
[HDI] Specifies the unload priority for the generated table from 0 to 9, where 0 means the table cannot be unloaded and 9 means earliest unload. Scripting name: UnloadPriority |
Group options |
[HDI] Specifies the group options for the generated table. Scripting name: GroupOptionClause |
The following extensions are available on the Detail tab of column property sheets:
Name |
Description |
---|---|
Column stored data type |
Specifies the stored data type. Scripting name: StoreDataType |
DDIC data type |
Specifies the application data type. Scripting name: DDICDataType |
The following extensions are available on the General tab of index property sheets:
Name |
Description |
---|---|
Type |
Specifies the type of the index, which can be:
Scripting name: DescIndex |
Descending |
[btree only] Specifies that the index should be created in descending order. Scripting name: DescIndex |
Name |
Description |
---|---|
Type |
Specifies the partition scheme type:
Scripting name: FirstPartitionElement, Hash1Expression, Hash1Quantity, Range1Expression, Range1Spec, Round1Quantity, SecondPartitionElement, Hash2Expression, Hash2Quantity, Range2Expression, Range2Spec |