return decodeIdentifierFrom(rowKey);
}
private byte[] decodeIdentifierFrom(byte[] rowKey) throws IOException {
final StructRowKey structRowKey = definition.asStructRowKey();
structRowKey.iterateOver(rowKey);
final StructIterator iterator = structRowKey.iterator();
int nbrFields = structRowKey.getFields().length;
// ignore all but last field (i.e. the identifier)