// first it sets the transient key fields from the stored key.
MarshalledTupleEntry obj;
try {
obj = (MarshalledTupleEntry) cls.newInstance();
} catch (IllegalAccessException e) {
throw new RuntimeExceptionWrapper(e);
} catch (InstantiationException e) {
throw new RuntimeExceptionWrapper(e);
}
if (dataInput != null) { // may be null if used by key extractor
obj.unmarshalEntry(dataInput);
}
MarshalledTupleKeyEntity entity = (MarshalledTupleKeyEntity) obj;