private HashTable buildHashTable() {
QueryBindingsCursor bindingsCursor = new SingletonQueryBindingsCursor(bindings);
Cursor loadCursor = hashInput.cursor(context, bindingsCursor);
loadCursor.openTopLevel();
Row row;
HashTable hashTable= new HashTable();
hashTable.setRowType(hashedRowType);
hashTable.setTComparisons(tComparisons);
hashTable.setCollators(collators);
while ((row = loadCursor.next()) != null) {
assert(row.rowType().equals(hashedRowType));
hashTable.put(row, evaluatableComparisonFields, bindings);
}
loadCursor.closeTopLevel();
return hashTable;
}