Github user aljoscha commented on the pull request:
https://github.com/apache/incubator-flink/pull/275#issuecomment-67827360
Yes, @rmetzger added some magic when he unified Pojo and Tuple keys.
TypeComparator has a method extractKeys() that does exactly that. It extracts
the key fields of a tuple or object and stores them in an array. I think all
the infrastructure is there. You can just use Keys.java and create
TypeComparators, those you can use for everything else. Maybe @rmetzger can
have a look and make some suggestions for how this could best be implemented in
the Streaming API.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---