Method for efficient processing of multi-state attributes
First Claim
Patent Images
1. A method of processing a database query that includes one or more multi-state attribute fields, comprising:
- instantiating a plurality of live objects, wherein each live object includes a reference to a first operand and a second operand;
performing, by a first live object, an attribute operation, wherein at least one attribute operation is a comparison operation associated with attributes of the query;
performing the comparison operation by de-referencing the first and second operands and loading the de-referenced operands into registers without placing the de-referenced operands into an intermediate data structure;
if the comparison operation results in a null or error status, accessing, a global status storage area and recording the null or error status by placing a status value and a behavior value in the global status storage area; and
otherwise, if the comparison operation results in a valid result status, passing execution control from the first live object to an adjacent live object.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, systems and articles of manufacture of processing a multi-state attribute field query. One embodiment provides a method of processing a multi-state attribute field query, comprising instantiating a plurality of live objects; performing, by each live object, an attribute operation, wherein at least one attribute operation is a comparison operation associated with attributes of the query. The plurality of live objects access a global status storage area only when an operand of the comparison operation is null or error. In any case, execution control is passed from each live object to an adjacent live object.
-
Citations
22 Claims
-
1. A method of processing a database query that includes one or more multi-state attribute fields, comprising:
-
instantiating a plurality of live objects, wherein each live object includes a reference to a first operand and a second operand; performing, by a first live object, an attribute operation, wherein at least one attribute operation is a comparison operation associated with attributes of the query; performing the comparison operation by de-referencing the first and second operands and loading the de-referenced operands into registers without placing the de-referenced operands into an intermediate data structure; if the comparison operation results in a null or error status, accessing, a global status storage area and recording the null or error status by placing a status value and a behavior value in the global status storage area; and otherwise, if the comparison operation results in a valid result status, passing execution control from the first live object to an adjacent live object. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer readable medium containing a program which, when executed, performs an operation for processing a database query that includes one or more multi-state attribute fields, the operation comprising:
-
instantiating a plurality of live objects, wherein each live object includes a reference to a first operand and a second operand; performing, by a first live object, an attribute operation, wherein at least one attribute operation is a comparison operation associated with attributes of the query; performing the comparison operation by de-referencing the first and second operands and loading the de-referenced operands into registers without placing the de-referenced operands into an intermediate data structure; if the comparison operation results in a null or error status, accessing, a global status storage area and recording the null or error status by placing a status value and a behavior value in the global status storage area; and otherwise, if the comparison operation results in a valid result status, passing execution control from the first live object to an adjacent live object. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
Specification