}
@Override
public PutAction mapFromEntity(ENTITY entity) {
EntityMapper<ENTITY> entityMapper = entityMappers.get(version);
PutAction entityPut = entityMapper.mapFromEntity(entity);
ManagedSchemaEntityVersion versionRecord = ManagedSchemaEntityVersion
.newBuilder().setSchemaVersion(version).build();
PutAction versionPut = managedSchemaEntityVersionEntityMapper
.mapFromEntity(versionRecord);
byte[] keyBytes = entityPut.getPut().getRow();
versionPut = HBaseUtils.mergePutActions(keyBytes, Arrays.asList(versionPut));
return HBaseUtils.mergePutActions(keyBytes,