@Beta public class KeyValueTableDefinition extends CompositeDatasetDefinition<KeyValueTable>
NO_ARGUMENTS| Constructor and Description |
|---|
KeyValueTableDefinition(String name,
DatasetDefinition<? extends Table,?> tableDef) |
| Modifier and Type | Method and Description |
|---|---|
KeyValueTable |
getDataset(DatasetContext datasetContext,
DatasetSpecification spec,
Map<String,String> arguments,
ClassLoader classLoader)
Provides dataset to be used to perform data operations on the dataset instance data defined by
passed
DatasetSpecification and the given arguments. |
configure, getAdmin, getDataset, getDelegate, reconfiguregetName, reconfigurepublic KeyValueTableDefinition(String name, DatasetDefinition<? extends Table,?> tableDef)
public KeyValueTable getDataset(DatasetContext datasetContext, DatasetSpecification spec, Map<String,String> arguments, ClassLoader classLoader) throws IOException
DatasetDefinitionDatasetSpecification 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 operationsIOExceptionCopyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.