status.beginKey = new BytesWritable();
status.beginKey.set(keyFirst.buffer(), keyFirst.offset(), keyFirst
.size());
RawComparable keyLast = index.get(index.size() - 1).getLastKey();
status.endKey = new BytesWritable();
status.endKey.set(keyLast.buffer(), keyLast.offset(), keyLast.size());
}
sorted = true;
}
// building full index.