Method, device and system for data inquiry
A data query device and data query technology, applied in the field of data processing, can solve the problems of query methods, ease of use, system efficiency, and performance that are difficult to achieve balance, and achieve the effects of improving convenience and efficiency, convenient programming, and simple use
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] figure 1 The data query method provided by the first embodiment of the present invention is shown. In this embodiment, the acquired relational data stream is bridged into an object stream, and the object stream is mapped into an object. The details are as follows:
[0023] In step S11, a relational data stream is obtained from the database.
[0024] Use the IDataReader tool to obtain the relational data stream in the relational database. The specific definition of the IDataReader tool is shown in Table 1:
[0025] Table 1:
[0026]
[0027] The IDataReader tool uses the Read() function to read the data of the relational database row by row. After reading a row of data, it moves to the next row. The row-by-row relational data read is a relational data stream.
[0028] As another embodiment of the present invention, before the step of acquiring the relational data stream in the database, a step is further included: sending a request for acquiring the data stream to t...
Embodiment 2
[0056] figure 2 The data query device provided by the second embodiment of the present invention is shown, and for the convenience of description, only the parts related to the second embodiment of the present invention are shown.
[0057] The data query device can be a software unit, a hardware unit, or a combination of software and hardware running in the system, or it can be integrated into these systems as an independent pendant or run in the application systems of these systems, wherein:
[0058] The data stream acquisition module 21 is used to acquire relational data streams from the database.
[0059] As another embodiment of the present invention, before the data stream acquisition module 21 acquires the relational data stream, the data query device further includes: a sending request module 24, configured to send a data stream acquisition request to the database.
[0060] The bridge module 22 reads the relational data acquired by the data stream acquisiti...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


