public function dropDimensionStorage(DataControllerCallContext $callcontext, DataSourceStructureHandler $datasourceStructureHandler, DatasetMetaData $logicalDataset, $columnName) { $lookupDatasetName = StarSchemaNamingConvention::getAttributeRelatedName($logicalDataset->name, $columnName); $request = new DatasetStorageRequest($lookupDatasetName); LogHelper::log_debug($request); $datasourceStructureHandler->dropDatasetStorage($callcontext, $request); parent::dropDimensionStorage($callcontext, $datasourceStructureHandler, $logicalDataset, $columnName); }
public function unprepareDimension(MetaModel $metamodel, DatasetMetaData $dataset, $columnName) { $datasetName = StarSchemaNamingConvention::getAttributeRelatedName($dataset->name, $columnName); $metamodel->unregisterDataset($datasetName); }