forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-19297][network] Make ResultPartitionWriter record-oriented
Currently, the ResultPartitionWriter is buffer-oriented, that is, RecordWriter can only add buffers of different channels to ResultPartitionWriter and the buffer boundary serves as a nature boundary of data belonging to different channels. However, this abstraction is not flexible enough to handle new implementations like sort-based partitioning where records are appended a joint structure shared by all channels and sorting is used to cluster data belonging to different channels. This patch makes ResultPartitionWriter record-oriented by adding new record-oriented interfaces to and removing the old buffer-oriented interfaces from ResultPartitionWriter. After this change, the future sort-merge based ResultPartitionWriter can be implemented easily.
- Loading branch information
Showing
35 changed files
with
785 additions
and
1,423 deletions.
There are no files selected for viewing
94 changes: 0 additions & 94 deletions
94
...src/main/java/org/apache/flink/runtime/io/network/api/serialization/RecordSerializer.java
This file was deleted.
Oops, something went wrong.
114 changes: 0 additions & 114 deletions
114
.../java/org/apache/flink/runtime/io/network/api/serialization/SpanningRecordSerializer.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.