public class DatasetMetaTableUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INSTANCE_TABLE_NAME |
static String |
META_TABLE_NAME |
| Constructor and Description |
|---|
DatasetMetaTableUtil(DatasetFramework framework) |
| Modifier and Type | Method and Description |
|---|---|
DatasetInstanceMDS |
getInstanceMetaTable() |
static Map<String,? extends co.cask.cdap.api.dataset.module.DatasetModule> |
getModules() |
DatasetTypeMDS |
getTypeMetaTable() |
static void |
setupDatasets(DatasetFramework datasetFramework)
Adds datasets and types to the given
DatasetFramework used by dataset service mds. |
public static final String META_TABLE_NAME
public static final String INSTANCE_TABLE_NAME
public DatasetMetaTableUtil(DatasetFramework framework)
public DatasetTypeMDS getTypeMetaTable() throws DatasetManagementException, IOException
public DatasetInstanceMDS getInstanceMetaTable() throws DatasetManagementException, IOException
public static void setupDatasets(DatasetFramework datasetFramework) throws IOException, DatasetManagementException
DatasetFramework used by dataset service mds.datasetFramework - framework to add types and datasets toIOExceptionDatasetManagementExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.