@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, reconfigure
getName, reconfigure
public KeyValueTableDefinition(String name, DatasetDefinition<? extends Table,?> tableDef)
public KeyValueTable getDataset(DatasetContext datasetContext, DatasetSpecification spec, Map<String,String> arguments, ClassLoader classLoader) throws IOException
DatasetDefinition
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.