New kV representation and more flexible extension for data Entry data structure #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enhanced Semantic Expression of the DataEntry.In order to better characterize KV data structure, key and headers fields is added in DataEntry. At the same time, the function of value checking and string parsing is also added. Better yet, it provide basic and custom types for user selection and extension.
The old structure as the STRUCT type of the new structure, you can use it as new way and more easier.
We change SCHEMA to META because we think META is better than SCHEMA in approaching the meaning expressed by this object.
We added the headers attribute to correspond to userProperty in Massage of RocketMQ.
We provide a variety of static construction methods and static variables for all type of metas, to facilitate users to quickly select the required meta types. We also provides a fast conversion method for object data, so that users can get the required data safely and quickly.