public interface Reconfigurable
DatasetDefinition.configure(String, DatasetProperties)
instead to obtain the new dataset specification.Modifier and Type | Method and Description |
---|---|
DatasetSpecification |
reconfigure(String instanceName,
DatasetProperties newProperties,
DatasetSpecification currentSpec)
Validates the new properties, including a compatibility check with the existing spec, and returns a
new dataset specification for the dataset instance.
|
DatasetSpecification reconfigure(String instanceName, DatasetProperties newProperties, DatasetSpecification currentSpec) throws IncompatibleUpdateException
newProperties
- the updated dataset properties, to be validated by this methodcurrentSpec
- the current specification of the datasetIncompatibleUpdateException
- if the new properties are not compatible with the existing datasetCopyright © 2020 Cask Data, Inc. Licensed under the Apache License, Version 2.0.