Exemplo n.º 1
0
  @Override
  public boolean refreshObject(@NotNull DBRProgressMonitor monitor) throws DBException {
    tableIndexCache.clearCache();

    // DF: Clear base index cache. Not cheap but didn't found another way..
    getContainer().getIndexCache().clearCache();

    return true;
  }
Exemplo n.º 2
0
 // -----------------
 // Associations
 // -----------------
 @Override
 @Association
 public Collection<DB2Index> getIndexes(DBRProgressMonitor monitor) throws DBException {
   return tableIndexCache.getAllObjects(monitor, this);
 }