ancestorHKey.copyFrom(hKey);
if (index.isTableIndex() && index.leafMostTable() != table) {
this.leafTableHKey = ancestorHKey;
ancestorHKey = keyCreator.newHKey(table.hKey());
this.leafTableHKey.copyTo(ancestorHKey);
ancestorHKey.useSegments(table.getDepth() + 1);
}
return ancestorHKey;
}
@SuppressWarnings("unchecked")