desktop/core/src/desktop/js/catalog/dataCatalogEntry.js
/**
   * Resets the entry to an empty state, it might still have some details cached
   */
Resets the entry to an empty state, it might still have some details cached
Resets the entry to an empty state it might still have some details cached
reset() {
    const self = this;
    self.saveTimeout = -1;
    self.sourceMetaPromise = undefined;
    self.sourceMeta = undefined;
    self.navigatorMeta = undefined;
    self.navigatorMetaPromise = undefined;
    self.analysis = undefined;
    self.analysisPromise = undefined;
    self.partitions = undefined;
    self.partitionsPromise = undefined;
    self.sample = undefined;
    self.samplePromise = undefined;
    self.navOptPopularity = undefined;
    self.navOptMeta = undefined;
    self.navOptMetaPromise = undefined;
    self.navigatorMetaForChildrenPromise = undefined;
    self.navOptPopularityForChildrenPromise = undefined;
    self.childrenPromise = undefined;
    if (self.path.length) {
      const parent = self.dataCatalog.getKnownEntry({
        namespace: self.namespace,
        compute: self.compute,
        path: self.path.slice(0, self.path.length - 1)
      });
      if (parent) {
        parent.navigatorMetaForChildrenPromise = undefined;
        parent.navOptPopularityForChildrenPromise = undefined;
      }
    }
  }
reset ( ) { const self = this ; self . saveTimeout = - 1 ; self . sourceMetaPromise = undefined ; self . sourceMeta = undefined ; self . navigatorMeta = undefined ; self . navigatorMetaPromise = undefined ; self . analysis = undefined ; self . analysisPromise = undefined ; self . partitions = undefined ; self . partitionsPromise = undefined ; self . sample = undefined ; self . samplePromise = undefined ; self . navOptPopularity = undefined ; self . navOptMeta = undefined ; self . navOptMetaPromise = undefined ; self . navigatorMetaForChildrenPromise = undefined ; self . navOptPopularityForChildrenPromise = undefined ; self . childrenPromise = undefined ; if ( self . path . length ) { const parent = self . dataCatalog . getKnownEntry ( { namespace : self . namespace , compute : self . compute , path : self . path . slice ( 0 , self . path . length - 1 ) } ) ; if ( parent ) { parent . navigatorMetaForChildrenPromise = undefined ; parent . navOptPopularityForChildrenPromise = undefined ; } } }
Resets the entry to an empty state, it might still have some details cached
Resets the entry to an empty state it might still have some details cached