private transient BytesWritable bw;
private transient Text keyW;
protected Object deserialize(BytesWritable record) {
PailStructure structure = getStructure();
if (structure instanceof BinaryPailStructure) {
return record;
} else {
return structure.deserialize(Utils.getBytes(record));
}
}