Creating a Dataset (Deprecated)

You can create a dataset in CDAP using either the Dataset Microservices, the Command Line Interface, or in an application specification.

You tell applications to create a dataset if it does not already exist by declaring the dataset details in the application specification. For example, to create a DataSet named myCounters of type KeyValueTable, write:

public void configure() { createDataset("myCounters", KeyValueTable.class); ...

Names (myCounters) that start with an underscore (_) will not be visible in the home page of the CDAP UI, though they will be visible elsewhere in the CDAP UI.

Created in 2020 by Google Inc.