Object[] keyArray = new Object[keySize];
int h = 0;
key.indexTo(0);
while (k < hKeySegments.size()) {
HKeySegment hKeySegment = hKeySegments.get(k++);
Table table = hKeySegment.table();
int ordinal = (Integer) key.decode();
assert ordinalToTable.get(ordinal) == table : ordinalToTable.get(ordinal);
keyArray[h++] = table;
for (int i = 0; i < hKeySegment.columns().size(); i++) {
keyArray[h++] = key.decode();