Structured data serialization transmission method and device based on Avro
A technology of structured data and transmission method, which is applied in the direction of structured data retrieval, redundant data error detection in computing, and electronic digital data processing, etc. Deploying proto files is troublesome and other issues, achieving the effect of simple use, small size, and time saving
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0110] Figure 5 It is a schematic diagram of an Avro-based structured data serialization transmission device in an embodiment of the present invention. Such as Figure 5 As shown, the Avro-based structured data serialization transmission process of the present invention is as follows:
[0111] Step 1, the data export module obtains the structure of the data table from the source database through the JDBC interface, including the table name and column name, the specific data type of each column, and whether NULL values are allowed.
[0112] In step 2, the data export module dynamically builds a Schema according to the table structure. Use the table name as the name of the Schema, each column of the table corresponds to a Field in the Schema, and the column name is the name of the Field. Establish a mapping relationship between column types and SchemaField types.
[0113] Step 3, the data export module creates an Avro encoder according to this dynamic schema. This step w...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


