public class StorageProviderNamespaceAdmin extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
StorageProviderNamespaceAdmin(CConfiguration cConf,
NamespacedLocationFactory namespacedLocationFactory,
ExploreFacade exploreFacade) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
create(Id.Namespace namespaceId)
Create a namespace in the underlying system.
|
protected void |
delete(Id.Namespace namespaceId)
Delete a namespace from the underlying system
Can perform operations such as deleting directories, deleting namespaces, etc.
|
protected StorageProviderNamespaceAdmin(CConfiguration cConf, NamespacedLocationFactory namespacedLocationFactory, ExploreFacade exploreFacade)
protected void create(Id.Namespace namespaceId) throws IOException, ExploreException, SQLException
namespaceId - Id.Namespace for the namespace to createIOException - if there are errors while creating the namespaceExploreExceptionSQLExceptionprotected void delete(Id.Namespace namespaceId) throws IOException, ExploreException, SQLException
namespaceId - Id.Namespace for the namespace to deleteIOException - if there are errors while deleting the namespaceExploreExceptionSQLExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.