Method for efficient processing of multi-state attributes
First Claim
Patent Images
1. A computer-implemented method of processing a multi-state attribute field query, comprising:
- a) structuring operator result states from a group comprising true, false, null, and error as intermediate multi-state operator input state results; and
b) using non-outcome determinative input-output logic operator properties to structure execution flow circumventing unproductive branches and yielding intermediate results from the group of true and false;
whereby the null and error intermediate multi-state operator results on the non-outcome determinative logic operator branches are pruned out rendering them ineffective in producing query results;
storing the intermediate results from attribute operations in a global status storage area and manipulating the global status storage area in the process of propagating execution flow; and
maintaining a logic operator value and operation object sub-tree height count in the global status storage area accessible by adjacent comparison operation objects when an operand of a comparison operation is null or error.
2 Assignments
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.
25 Citations
16 Claims
-
1. A computer-implemented method of processing a multi-state attribute field query, comprising:
-
a) structuring operator result states from a group comprising true, false, null, and error as intermediate multi-state operator input state results; and b) using non-outcome determinative input-output logic operator properties to structure execution flow circumventing unproductive branches and yielding intermediate results from the group of true and false; whereby the null and error intermediate multi-state operator results on the non-outcome determinative logic operator branches are pruned out rendering them ineffective in producing query results; storing the intermediate results from attribute operations in a global status storage area and manipulating the global status storage area in the process of propagating execution flow; and maintaining a logic operator value and operation object sub-tree height count in the global status storage area accessible by adjacent comparison operation objects when an operand of a comparison operation is null or error. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer readable storage medium containing a program which, when executed, performs an operation for processing a multi-state attribute field query, the operation comprising:
-
a) structuring operator result states from a group comprising true, false, null, and error as intermediate multi-state operator input state results; and b) using non-outcome determinative input-output logic operator properties to structure execution flow circumventing unproductive branches and yielding intermediate results from the group of true and false; whereby the null and error intermediate multi-state operator results on the non-outcome determinative logic operator branches are pruned out rendering them ineffective in producing query results; storing the intermediate results from attribute operations in a global status storage area and manipulating the global status storage area in the process of propagating execution flow; and maintaining a logic operator value and operation object sub-tree height count in the global status storage area accessible by adjacent comparison operation objects when an operand of a comparison operation is null or error. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification