Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New kV representation and more flexible extension for data Entry data structure #30

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

liuboyan69
Copy link

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.

liuboyan69 and others added 3 commits August 6, 2019 17:08
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.
…connect

# Conflicts:
#	connector/src/main/java/io/openmessaging/connector/api/data/DataEntry.java
#	connector/src/main/java/io/openmessaging/connector/api/data/DataEntryBuilder.java
#	connector/src/main/java/io/openmessaging/connector/api/data/Schema.java
#	connector/src/main/java/io/openmessaging/connector/api/data/SinkDataEntry.java
#	connector/src/main/java/io/openmessaging/connector/api/data/SourceDataEntry.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant