public final class DistributedStorageProviderNamespaceAdmin extends StorageProviderNamespaceAdmin
| Constructor and Description |
|---|
DistributedStorageProviderNamespaceAdmin(CConfiguration cConf,
NamespacedLocationFactory namespacedLocationFactory,
ExploreFacade exploreFacade,
HBaseTableUtil tableUtil) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(Id.Namespace namespaceId)
Create a namespace in the underlying system.
|
void |
delete(Id.Namespace namespaceId)
Delete a namespace from the underlying system
Can perform operations such as deleting directories, deleting namespaces, etc.
|
@Inject public DistributedStorageProviderNamespaceAdmin(CConfiguration cConf, NamespacedLocationFactory namespacedLocationFactory, ExploreFacade exploreFacade, HBaseTableUtil tableUtil)
public void create(Id.Namespace namespaceId) throws IOException, ExploreException, SQLException
StorageProviderNamespaceAdmincreate in class StorageProviderNamespaceAdminnamespaceId - Id.Namespace for the namespace to createIOException - if there are errors while creating the namespaceExploreExceptionSQLExceptionpublic void delete(Id.Namespace namespaceId) throws IOException, ExploreException, SQLException
StorageProviderNamespaceAdmindelete in class StorageProviderNamespaceAdminnamespaceId - 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.