@Beta public class IndexedObjectStoreDefinition extends CompositeDatasetDefinition<IndexedObjectStore>
IndexedObjectStore
.NO_ARGUMENTS
Constructor and Description |
---|
IndexedObjectStoreDefinition(String name,
DatasetDefinition<? extends Table,?> tableDef,
DatasetDefinition<? extends ObjectStore,?> objectStoreDef) |
Modifier and Type | Method and Description |
---|---|
IndexedObjectStore<?> |
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 IndexedObjectStoreDefinition(String name, DatasetDefinition<? extends Table,?> tableDef, DatasetDefinition<? extends ObjectStore,?> objectStoreDef)
public IndexedObjectStore<?> 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 © 2021 Cask Data, Inc. Licensed under the Apache License, Version 2.0.