Computer data system current row position query language construct and array processing query language constructs
AssigneeDeephaven Data Labs LLC
InventorsDavid R. Kent, IV, Ryan Caudy, Charles Wright, Mark Zeldis, Radu Teodorescu
Life of this patent
Estimating the term…
Abstract
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.
Claims22
1-20. (canceled)
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 including:
- accessing, at the one or more hardware processors, computer data system query language code stored in the electronic computer readable data storage device, the computer data system query language code including a current index value and a current data storage location value associated with a data object, wherein the current index value and the current data storage location value are constructs of a computer data system query language;
- parsing, at the one or more hardware processors, the computer data system query language code into a parsed query language structure;
- generating, at the one or more hardware processors, computer programming language code based on the parsed query language structure, the computer programming language code including computer programming language functions that are mapped to usages of the current index value and the current data storage location value, wherein the generated computer programming language code and the computer programming language functions are compiled;
- executing, at the one or more hardware processors, the compiled computer programming language code;
- determining, at the one or more hardware processors, based on execution of the compiled computer programming language code, a return data storage location value from the computer programming language functions corresponding to the current data storage location value, the return data storage location value representing a current data storage location of the data object corresponding to a query language construct at a time of execution of the compiled computer programming language code;
- when one or more data sources that the data object depends on are updated, subsequently executing, at the one or more hardware processors, the compiled computer programming language code, including a portion of computer programming language code corresponding to the current data storage location,—wherein the updating includes one or more of adding, modifying, deleting, or re-indexing the one or more data sources that the data object depends on;
- and
- determining, at the one or more hardware processors, based on the subsequent execution of the compiled computer programming language code, a new return data storage location value from the computer programming language functions corresponding to the current data storage location value, the new return data storage location value representing an updated current data storage location of the data object corresponding to another query language construct at a subsequent time of execution of the compiled computer programming language code.
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 including:
- accessing, at the one or more hardware processors, computer data system query language code stored in the electronic computer readable data storage device, the computer data system query language code including an array processing query language construct including at least a portion of data within a data object as a parameter;
- parsing, at the one or more hardware processors, the computer data system query language code into a parsed query language structure;
- generating, at the one or more hardware processors, computer programming language code based on the parsed query language structure, the computer programming language code including a portion of computer programming language code corresponding to the array processing query language construct associated with the data object;
- executing, at the one or more hardware processors, the computer programming language code, including the portion of computer programming language code corresponding to the array processing query language construct associated with the data object;
- determining, at the one or more hardware processors, based on execution of the computer programming language code, a return value from the portion of computer programming language code corresponding to the array processing query language construct associated with the data object, the return value including transformed data from the data object;
- when one or more data sources that the data object depends on are updated, subsequently executing, at the one or more hardware processors, the computer programming language code, including the portion of computer programming language code corresponding to the array processing query language construct associated with the data object;
- and
- determining, at the one or more hardware processors, based on the subsequent execution of the computer programming language code, a new return value from the portion of computer programming language code corresponding to the array processing query construct associated with the data object, the return value including updated transformed data from the data object at a subsequent time of execution of the computer programming language code.
A method for mapping index values corresponding to a data structure to data storage location values, the method comprising:
- receiving a notification containing one or more changes to a parent data structure, wherein the 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 or new data storage location values;
- updating the 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 or the data storage location values based on the new index values and the new data storage location values;
- and
- notifying one or more child data structures of the updating of the data structure, wherein the one or more child data structures depend on the data structure, and wherein the notifying includes sending the one or more of the modified index values or the modified data storage location values to the one or more child data structures, and wherein the notifying is implemented using one or more listeners associated with the one or more child data structures and the data structure.
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 including:
- accessing, at the one or more hardware processors, computer data system query language code stored in the electronic computer readable data storage device, the computer data system query language code including a current index value and a current data storage location value associated with a data object, wherein the current index value and the current data storage location value are constructs of a computer data system query language;
- parsing, at the one or more hardware processors, the computer data system query language code into a parsed query language structure;
- generating, at the one or more hardware processors, computer programming language code based on the parsed query language structure, the computer programming language code including computer programming language functions that are mapped to usages of the current index value and the current data storage location value, wherein the generated computer programming language code and the computer programming language functions are processed;
- executing, at the one or more hardware processors, the processed computer programming language code;
- determining, at the one or more hardware processors, based on execution of the processed computer programming language code, a return index value from the computer programming language functions corresponding to the current index value, the return index value representing a current data storage location of the data object corresponding to a query language construct at a time of execution of the processed computer programming language code;
- when one or more data sources that the data object depends on are updated, subsequently executing, at the one or more hardware processors, the processed computer programming language code, including a portion of computer programming language code corresponding to the current index value, wherein the updating includes one or more of adding, modifying, deleting, or re-indexing the one or more data sources that the data object depends on;
- and
- determining, at the one or more hardware processors, based on the subsequent execution of the processed computer programming language code, a new return index value from the computer programming language functions corresponding to the current index value, the new return index value representing an updated current data storage location of the data object corresponding to another query language construct at a subsequent time of execution of the processed computer programming language code.
Dependencies are inferred from the claim text.