Computer data system current row position query language construct and array processing query language constructs
Described are methods, systems and computer readable media for providing a current row position query language construct and array processing query language constructs and associated processing.
1. A method for mapping index values corresponding to a first child table to data storage location values, the method comprising:
receiving a notification containing one or more changes to a parent table, wherein the first child table depends on the parent table for updates, and wherein the one or more changes include one or more of additions, modifications, deletions, or re-indexing, and wherein the notification includes one or more of new index values and new data storage location values;
updating the first child table based on one or more of the one or more changes to the parent table, wherein the updating includes modifying one or more of the index values and the data storage location values, the modifying being based on one or more of the new index values and the new data storage location values; and
notifying a second child table of the updating of the first child table, wherein the second child table depends on the first child table, and wherein the notifying includes sending one or more of the modified index values and the modified data storage location values to the second child table, and wherein the notifying is implemented using one or more listeners associated with the second child table and the first child table.
2. The method of claim 1 , wherein an order of the index values defines an order of iteration of the first child table.
3. The method of claim 1 , wherein the index values are stored as a tree data structure.
4. The method of claim 1 , wherein the index values are serialized by storing each of the index values as an offset from a preceding index value.
5. A system comprising:
one or more hardware processors;
an electronic computer readable data storage device coupled to the one or more hardware processors, the electronic computer readable data storage device having stored thereon software instructions that, when executed by the one or more hardware processors, cause the one or more hardware processors to perform operations for mapping index values corresponding to a first child data object to data storage location values, the operations including:
receiving a notification containing one or more changes to a parent data object, wherein the first child data object depends on the parent data object for updates, and wherein the one or more changes include one or more of additions, modifications, deletions, or re-indexing, and wherein the notification includes one or more of new index values and new data storage location values;
updating the first child data object based on one or more of the one or more changes to the parent data object, wherein the updating includes modifying one or more of the index values and the data storage location values, the modifying being based on one or more of the new index values and the new data storage location values; and
notifying a second child data object of the updating of the first child data object, wherein the second child data object depends on the first child data object, and wherein the notifying includes sending one or more of the modified index values and the modified data storage location values to the second child data object, and wherein the notifying is implemented using one or more listeners associated with the second child data object and the first child data object,
wherein the parent data object, the first child data object, and the second child data object are each a table.
6. The system of claim 5 , wherein an order of the index values defines an order of iteration of the first child data object.
7. The system of claim 5 , wherein the index values are stored as a tree data structure.
8. The system of claim 5 , wherein the index values are serialized by storing each of the index values as an offset from a preceding index value.
9. A nontransitory computer readable medium having stored thereon software instructions that, when executed by one or more hardware processors, cause the one or more hardware processors to perform operations for mapping index values corresponding to a first child data structure to data storage location values, the operations including:
receiving a notification containing one or more changes to a parent data structure, wherein the first child data structure depends on the parent data structure for updates, and wherein the one or more changes include one or more of additions, modifications, deletions, or re-indexing, and wherein the notification includes one or more of new index values and new data storage location values;
updating the first child data structure based on one or more of the one or more changes to the parent data structure, wherein the updating includes modifying one or more of the index values and the data storage location values based on one or more of the new index values and the new data storage location values; and
notifying one or more second child data structures of the updating of the data structure, wherein the one or more second child data structures depend on the first child data structure, and wherein the notifying includes sending one or more of the modified index values and the modified data storage location values to the one or more second child data structures, and wherein the notifying is implemented using one or more listeners associated with the one or more second child data structures and the first child data structure,
wherein the parent data structure, the first child data structure, and the one or more second child data structures are each a table.
10. The nontransitory computer readable medium of claim 9 , wherein an order of the index values defines an order of iteration of the first child data structure.
11. The nontransitory computer readable medium of claim 9 , wherein the index values are stored as a tree data structure.
12. The nontransitory computer readable medium of claim 9 , wherein the index values are serialized by storing each of the index values as an offset from a preceding index value.