[common] Use EncodeKeyImpl() to handle different RowType

For different RowType, the processing logic in two overloaded
EncodeRow() is duplicated.

Change-Id: I5daf09a09c8916da1307b598be708588aa842803
Reviewed-on: http://gerrit.cloudera.org:8080/14461
Reviewed-by: Adar Dembo <adar@cloudera.com>
Tested-by: Adar Dembo <adar@cloudera.com>
1 file changed