COMPLEX QUERY HANDLING
First Claim
1. A method of processing a query for a database comprising:
- receiving a portion of a query from a client device in a server implemented by at least one processor, the portion of the query comprising an incomplete component;
determining, from the incomplete component, that the incomplete component is one of a plurality of predefined types with the server, the predefined types comprising a data model component, a query language feature, or a data value;
providing the incomplete component to an auto-complete function specific to the determined type of the incomplete component;
receiving in the server a suggestion for completing the query from the auto-complete function, the suggestion being specific to the type of the incomplete component; and
providing the suggestion from the server to the client device.
1 Assignment
0 Petitions
Accused Products
Abstract
Processing a query for a database includes: receiving a portion of a query from a client device in a server implemented by at least one processor, the portion of the query comprising an incomplete component; determining that the incomplete component is one of multiple predefined types with the server; providing the incomplete component to an auto-complete function specific to the determined type of the incomplete component; receiving in the server a suggestion for completing the query from the auto-complete function, the suggestion being specific to the type of the incomplete component; and providing the suggestion from the server to the client device.
8 Citations
22 Claims
-
1. A method of processing a query for a database comprising:
-
receiving a portion of a query from a client device in a server implemented by at least one processor, the portion of the query comprising an incomplete component; determining, from the incomplete component, that the incomplete component is one of a plurality of predefined types with the server, the predefined types comprising a data model component, a query language feature, or a data value; providing the incomplete component to an auto-complete function specific to the determined type of the incomplete component; receiving in the server a suggestion for completing the query from the auto-complete function, the suggestion being specific to the type of the incomplete component; and providing the suggestion from the server to the client device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A server for processing a query for a database, the server comprising:
a processor communicatively coupled to a memory, the memory storing executable code which, when executed by the processor, causes the processor to; receive a portion of a query from a client device in a server implemented by at least one processor, the portion of the query comprising an incomplete component; determine from the incomplete component that the incomplete component is one of a plurality of predefined types with the server, the predefined types comprising a data model component, a query language feature, or a data value; invoke an auto-complete function specific to the determined type of the incomplete component to obtain a suggestion for completing the query, the suggestion being specific to the type of the incomplete component; and initiate transmission of the suggestion from the server to the client device. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
17. A method of processing a query for a database, comprising:
-
receiving in a computing device implemented by at least one processor an incomplete component of a query; classifying, based on the incomplete component, the incomplete component as one of;
a model type, a structural type, and a data type, wherein the model type comprises a data model component, the structural type comprises a query language feature, and the data type comprises a data value; andgenerating with the computing device a suggestion for completing the incomplete component based on the type of the incomplete component, the suggestion being specific to the type of the incomplete component. - View Dependent Claims (18, 19, 20)
-
-
21. A computer program product for processing a query of a database, comprising:
a non-transitory computer-readable storage medium comprising computer-readable program code embodied therewith, the computer-readable program code comprising; computer-readable program code configured to receive a portion of a query from a client device in a server implemented by at least one processor, the portion of the query comprising an incomplete component; computer-readable program code configured to determine from the incomplete component that the incomplete component is one of a plurality of predefined types with the server; computer-readable program code configured to invoke an auto-complete function specific to the determined type of the incomplete component to obtain a suggestion for completing the query, the suggestion being specific to the type of the incomplete component; computer-readable program code configured to initiate transmission of root elements of a hierarchy of possible query constructions from the server to the client device; and computer-readable program code configured to, in response to a request to expand, initiate expansion of a node in the hierarchy.
-
22. A computer program product for processing a query for a database, comprising:
a non-transitory computer-readable storage medium comprising computer-readable program code embodied therewith, the computer-readable program code comprising; computer-readable program code configured to receive an incomplete component of a query; computer-readable program code configured to determine a context of the query based on the incomplete component, the context being one of;
a model component, a structural component, and a data component; andcomputer-readable program code configured to, if the context is a model component, query a model expert for application elements that match the query, wherein the model expert keeps a record of class types, attributes, and their data-types and associations; computer-readable program code configured to, if the context is a structural component, query a lexer to determine a list of permissible symbols; and computer-readable program code configured to, if the context is a data component, query a data persistence mechanism for an auto-suggest operation within the context of the query.
Specification