D
- defines data operations that can be performed on this dataset instanceA
- defines administrative operations that can be performed on this dataset instance@Deprecated public interface DatasetDefinition<D extends Dataset,A extends DatasetAdmin>
configure(String, DatasetProperties)
method
DatasetAdmin
via
getAdmin(DatasetContext, DatasetSpecification, ClassLoader)
method
Dataset
via
getDataset(DatasetContext, DatasetSpecification, Map, ClassLoader)
method
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
NO_ARGUMENTS
Deprecated.
Convenience constant for passing in no arguments.
|
Modifier and Type | Method and Description |
---|---|
DatasetSpecification |
configure(String instanceName,
DatasetProperties properties)
Deprecated.
Configures new instance of the dataset.
|
A |
getAdmin(DatasetContext datasetContext,
DatasetSpecification spec,
ClassLoader classLoader)
Deprecated.
Provides dataset admin to be used to perform administrative operations on the dataset instance
defined by passed
DatasetSpecification . |
D |
getDataset(DatasetContext datasetContext,
DatasetSpecification spec,
Map<String,String> arguments,
ClassLoader classLoader)
Deprecated.
Provides dataset to be used to perform data operations on the dataset instance data defined by
passed
DatasetSpecification and the given arguments. |
String |
getName()
Deprecated.
|
String getName()
DatasetSpecification configure(String instanceName, DatasetProperties properties)
instanceName
- name of the instanceproperties
- instance configuration propertiesDatasetSpecification
that fully describes dataset instance. The
DatasetSpecification
can be used to create DatasetAdmin
and Dataset
to perform administrative and data operations respectively, see getAdmin(DatasetContext, DatasetSpecification, ClassLoader)
and getDataset(DatasetContext, DatasetSpecification, Map, ClassLoader)
.A getAdmin(DatasetContext datasetContext, DatasetSpecification spec, ClassLoader classLoader) throws IOException
DatasetSpecification
.datasetContext
- context for the datasetspec
- specification of the dataset instance.classLoader
- classloader to use when executing admin operationsIOException
D getDataset(DatasetContext datasetContext, DatasetSpecification spec, Map<String,String> arguments, ClassLoader classLoader) throws IOException
DatasetSpecification
and the given arguments.datasetContext
- context for the datasetspec
- specification of the dataset instance.arguments
- arguments for this instance of the dataset. Should not be null - provide
an empty map for no arguments.classLoader
- classloader to use when executing dataset operationsIOException
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.