Dataset Management in Programs (Deprecated)

Instantiating a dataset in a program allows you to perform any of the dataset's data operations—the Java methods defined in the dataset's API. However, you cannot perform administrative operations such as creating or dropping a dataset. For these operations, the program context offers an Admin interface that can be obtained through the getAdmin() method of the context. This is available in all types of programs.

The handler defines several endpoints for dataset management, one of which can be used to create a new file set, either by cloning an existing file set's dataset properties, or by using the properties submitted in the request body.

Note that even though you can call dataset management methods within a transaction, these operations are not transactional, and they are not rolled back in case the current transaction fails. It is advisable not to mix data operations and dataset management operations within the same transaction.

Created in 2020 by Google Inc.