class GetStartKeyForRoot implements Function<Range,Key> {

    @Override
    public Key apply(Range input) {
        Key k = input.getStartKey();
        return TLD.buildParentKey(k.getRow(), TLD.parseRootPointerFromId(k.getColumnFamilyData()), k.getColumnQualifierData(), k.getColumnVisibility(),
                        k.getTimestamp());
    }

}