Associative Data Modeling Demystified: Part VI-II
Before reading, be sure to check out Part VI-I!
Environment Type Systems
In a previous section, we saw that R3DM/S3DM can be seen from many perspectives. At a lower level, we have a network graph of nodes and edges. In the OrientDB graph model, these are instances of the V (for "vertex") and E (for "edges") classes. At a higher level, based on those two classes, we build a hierarchically organized namespace in OrientDB’s paginated local storage (plocal). This is the database environment, the highest organizational structure, a logical container that may represent a business environment, a user environment, or even a programming environment. Its role is to group related classes into eight type systems. Seven of them manage vertices and one of them is for the different types of edges, as shown in Figure 4. The process of initializing and defining the structures in OrientDB database is fully automated by reading the schema of the type system from a JSON file, as shown in Figure 5.
via DZone.com Feed https://dzone.com
May 25, 2017 at 10:30AM