use of co.cask.cdap.data2.dataset2.lib.cube.CubeDatasetDefinition in project cdap by caskdata.
the class CubeModule method register.
@Override
public void register(DatasetDefinitionRegistry registry) {
DatasetDefinition<Table, ? extends DatasetAdmin> tableDef = registry.get("table");
DatasetDefinition<MetricsTable, ? extends DatasetAdmin> metricsTableDef = registry.get(MetricsTable.class.getName());
registry.add(new CubeDatasetDefinition(FULL_NAME, tableDef, metricsTableDef));
registry.add(new CubeDatasetDefinition(SHORT_NAME, tableDef, metricsTableDef));
}
Aggregations