The logical database that is being administered by the object manager, can consist of multiple physical databases. The (physical) databases are represented by objects of the class CXS_DATABASE. GetDatabases gets all databases from the object manager; NewDatabase can generate a new CXS_DATABASE-object.
The following functions can be called for this object with InstantView®:
| Name | Parameter | Return Value | |
|---|---|---|---|
| GetSegments | - | collection of CXS_SEGMENT objects | provides all database segments |
The ObjectStore database is divided into segments, that are administered by
the object manager via objects of the class CXS_SEGMENT (also see CLASSIX.INI).
The object manager provides all segments with GetSegments, function where gets the segment, which stores a specific object. NewSegment generates a new CXS_SEGMENT object.
The following functions can be called for this object with InstantView®:
| Name | Parameter | Return Value | |
|---|---|---|---|
| Contents | withClasses (integer) | collection of CX_META_CLASS- and/or CXS_REP_COLLECTION-objects | CX_META_CLASSes or CXS_REP_COLLECTIONs for objects that can be saved in
this segment (answers the question: "which objects can be saved in this
segment?") withClasses = FALSE provides the possible root EP collections only |
| GetClusters | - | collection of CXS_CLUSTER-objects | to display clusters, that exist in this segment - only available from ObjectStore 6.0 |
| GetObjects | amount n (integer) | collection | the first n objects, that are saved in this segment |
| GetSize | - | string | information on segment size as string |
| GetNumber | - | segment number (integer) | |
| Blockers | mode (0 - read, 1 -write) | string | name of clients, who cause a read-/write lock (in reference to the segment) when calling the function |