摘要:
An XPath generation system generates a default XPath expression (XPath) from a selected destination node. The system provides to a user the default XPath with modification options. The system modifies the default XPath according to selected modification options to generate a resulting XPath. If none of the modifications options are selected, the system selects the default XPath as the resulting XPath. The modification options comprise selecting a different node as a destination node of the XPath, selecting a context node as a starting node of the XPath, selecting an axis for specifying a path between the context node and the destination node, specifying selection of a node by name or by type, specifying selection of any node, and specifying return of only unique values of the resulting XPath.
摘要:
A method and system for providing a query builder for at least one query language is disclosed. The method and system include providing a plurality of grids and at least one resource for a grid set including at least one of the plurality of grids. The grids correspond to a plurality of functional units of the query language(s). The grid set corresponds to one of the functional units. The resource(s) correspond to the functional unit and to the grid set. The resource(s) are capable of being used as at least one argument for the grid set.
摘要:
A unified query building system generates a source structure comprising nodes from a data structure input of an identified data source, displays the generated source structure in a logical view, adds a selected node or element from the nodes to a design query canvas, generates a query object from the selected node based on a source type of the selected node, presents a logical view of a query function of a selected query object, and generates a unified query comprising the generated query objects. The logical view is displayed in a graphical user interface comprising a design query canvas comprising grids corresponding to functions in a query language such as SQL or XML. The generated unified query is displayed in an actual query view and is outlined in a query outline view.
摘要:
A system and method for building an XQuery using a model-based XQuery building tool is presented. An XQuery builder includes a general user interface (GUI) that enables a user to graphically interpret XML source documents and create a query model. The XQuery builder then optimizes the query model by generating relative paths for nodes and converting FLWOR expressions to XPath expressions. In addition, the XQuery builder inserts runtime parameters into the query model that correspond to XML documents that are required to test the XQuery. Subsequently, the XQuery builder generates an XQuery from the optimized query model, and provides the XQuery and required XML documents to a query engine that, in turn, produces query results.
摘要:
A method for providing a query builder for at least one query language is disclosed. The method includes providing a plurality of grids and at least one resource for a grid set including at least one of the plurality of grids. The grids correspond to a plurality of functional units of the query language(s). The grid set corresponds to one of the functional units. The resource(s) correspond to the functional unit and to the grid set. The resource(s) are capable of being used as at least one argument for the grid set.
摘要:
A unified query building system generates a source structure comprising nodes from a data structure input of an identified data source, displays the generated source structure in a logical view, adds a selected node or element from the nodes to a design query canvas, generates a query object from the selected node based on a source type of the selected node, presents a logical view of a query function of a selected query object, and generates a unified query comprising the generated query objects. The logical view is displayed in a graphical user interface comprising a design query canvas comprising grids corresponding to functions in a query language such as SQL or XML. The generated unified query is displayed in an actual query view and is outlined in a query outline view.
摘要:
Embodiments of the invention provide techniques for specifying precise queries of hierarchical data. In one embodiment, a mapping template is created to represent the hierarchical data in terms that are easy to for users to understand. The mapping template is used to generate a query tool having a tree structure made up of nodes that are queried by the user. The user may compose a query by navigating the tree structure to select nodes of interest, and specifying predicates for the selected nodes. Once the query is composed, it may be executed against the hierarchical data.
摘要:
The present disclosure generally discloses a testing capability related to service testing in a communication network. The testing capability may be configured to support debugging of failures identified during service validation testing of a service in a communication network. The testing capability may be configured to support debugging of failures (e.g., transmission failures or the like) associated with a failed service validation test (e.g., a transmission verification test or the like). The testing capability may be configured to support debugging of failures identified during service validation testing of an Ethernet service. The testing capability may be configured to support debugging of failures (e.g., frame loss or the like) identified during service validation testing of an Ethernet service where the service validation testing of the Ethernet service is performed based on International Telecommunication Union (ITU)-Standardization (ITU-T) Y.1564, which is an Ethernet-based service activation test methodology.
摘要:
Embodiments of the present invention provide techniques for mapping hierarchical data from a query result into a tabular display, such as a spreadsheet. The tabular display allows some (or all) of the elements included in the hierarchical display to be mapped to positions on the report. In one embodiment, a field of the result that stores hierarchical data with repeating elements (e.g., an XML document) is mapped into the tabular report using jagged rows. This approach allows a user to map both the hierarchical and relational data in the result set to cells in the spreadsheet, and in the process, handle any embedded collection (repeated element) in the hierarchical data.
摘要:
A search string is received to be applied to structured data. A concatenated version of the structured data is obtained and the search string is applied to the concatenated version to obtain search results. A list of results is generated and comprises search string correlated information from different portions of the structured data.