摘要:
Disclosed is a technique for processing a base model. The base model is received. Then, the base model is used to create a ViewType comprising a ViewType object, one or more ViewList objects corresponding to classes in the base model, and one or more ViewElem objects corresponding to attributes in the base model.
摘要:
Disclosed is a technique for manipulating instance data of a base model. A ViewType, a root object representing an object of the base model, and an operation are received. Whether the ViewType and the root object are compatible is determined. When the ViewType and the root object are compatible, the operation is applied to the instance data of the base model while using the ViewType to traverse the instance data.
摘要:
Disclosed is a technique for processing a base model. The base model is received. Then, the base model is used to create a ViewType comprising a ViewType object, one or more ViewList objects corresponding to classes in the base model, and one or more ViewElem objects corresponding to attributes in the base model.
摘要:
Disclosed is a technique for generating a relational view. Initially, identification of a base model, a relational schema, and a ViewType are received. Then, a statement to create a relational view of the instance data for the base model using the ViewType is automatically generated.
摘要:
The system, method, and program of this invention provides for a new type of quantifier that is useful for object-oriented queries that reference collections and nested collections of objects. The invention is applicable to any other type of database where the data has a hierarchical relationship, also. This new type of quantifier is called an outer quantifier. The outer quantifier appears in the language of the query (in the FROM clause) and creates a new runtime semantic. The function and semantics provided by outer quantifiers is similar to that provided partly by left outer joins in relational systems. Outer quantifiers are bound to a null instance if the collection over which they are defined is empty. Outer quantifiers are a simple way of expressing queries so that objects having empty collections of nested objects are included in the result, also.
摘要:
Disclosed is a technique for manipulating instance data of a base model. A ViewType, a root object representing an object of the base model, and an operation are received. Whether the ViewType and the root object are compatible is determined. When the ViewType and the root object are compatible, the operation is applied to the instance data of the base model while using the ViewType to traverse the instance data.
摘要:
Disclosed is a technique for manipulating instance data of a base model. A ViewType, a root object representing an object of the base model, and an operation are received. Whether the ViewType and the root object are compatible is determined. When the ViewType and the root object are compatible, the operation is applied to the instance data of the base model while using the ViewType to traverse the instance data.
摘要:
A system, method, and program enables database management systems for relational and object-oriented databases to recognize a quantifier in a query as being designated as optional. An optional quantifier will participate in a query depending upon certain conditions. If the columns (or objects) projected out in the view that are dependent upon the quantifier are not used by the query, the quantifier is dropped from the definition of the view. The query is processed using only the relations in the view not associated with the optional quantifier. The results returned are as if a left outer join operation with duplicate elimination had been performed, although the actual processing of the query was independent of, i.e., did not involve, a left outer join operation. If the columns (or objects) projected out in the view that are dependent upon the quantifier are used by the query, the optional quantifier remains in the definition of the view and the query is processed using a join operation.
摘要:
Disclosed is a technique for processing a base model. The base model is received. Then, the base model is used to create a ViewType comprising a ViewType object, one or more ViewList objects corresponding to classes in the base model, and one or more ViewElem objects corresponding to attributes in the base model.
摘要:
Disclosed is a technique for generating a relational view. Initially, identification of a base model, a relational schema, and a ViewType are received. Then, a statement to create a relational view of the instance data for the base model using the ViewType is automatically generated.