No, I don't think so, because AvroKeyInputFormat is a InputFormat<AvroKey<E>, NullWritable>.