docs: public void setIndexRoots(int[] roots) {
  
          if (!isCached) {
              throw Error.error(ErrorCode.X_42501, tableName.name);
          }
  
          PersistentStore store =
              database.persistentStoreCollection.getStore(this);
  
          for (int i = 0; i < getIndexCount(); i++) {
              store.setAccessor(indexList[i], roots[i]);
          }
      }