CXS_SEGMENT
Class hierarchy
- CX_CLASS
- CXS_SEGMENT
Description:
This class represents a database segment. See also CXS_DATABASE and CXS_SEGMENT. Changing the DDI fields has no effect on the actual segment in the database. Only "name" and "database" play a role when creating a database segment with CreateSegment.
Code example:
...
Function | MA* | Parameters | Return | Brief description |
---|---|---|---|---|
Blockers | INTEGER | STRING | the names of the clients holding a read/write lock in this segment | |
Contents | INTEGER | COLLECTION | all classes and REP-Collection, from this segment | |
CreateSegment | Create segment in the database | |||
Destroy | deletes a database segment | |||
GetClusters | COLLECTION | all clustersexisting in the segment | ||
GetNumber | INTEGER | Segment number | ||
GetObjects | INTEGER | COLLECTION | Get objects of the segment | |
GetSize | STRING | Segment size as character string | ||
Name | * | Read/write access to the segment name |
* MA = Member Access function,
grey background = inherited function
Data field | Type | Reference class | I* | Brief description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
database | POINTER | CXS_DATABASE | Database of the segment | |||||||||||||||
flags | SHORT |
| ||||||||||||||||
name | STRING | Segment name | ||||||||||||||||
Up to Dll version 222096 |
* I = Indexable data field,
grey background = inherited data field
Module | Brief description |
---|---|
objcount.mod | Count objects |
segview.mod | Segments Display module |