final NameCompleter compl = _sessionTables.get(session);
return compl == null ? rehash(session) : compl;
}
private NameCompleter getAllColumnsCompleter(final SQLSession session) {
NameCompleter compl = _sessionColumns.get(session);
if (compl != null) {
return compl;
}
/*
* This may be a lengthy process..
*/
_interrupted = false;
SigIntHandler.getInstance().pushInterruptable(this);
final NameCompleter tables = getTableCompleter(session);
if (tables == null) {
return null;
}
final Iterator<String> table = tables.getAllNamesIterator();
compl = new NameCompleter();
while (!_interrupted && table.hasNext()) {
final String tabName = table.next();
final Collection<String> columns = columnsFor(tabName);
final Iterator<String> cit = columns.iterator();
while (cit.hasNext()) {