[FLINK-1227] KeySelector can now extend ResultTypeQueryable