@InterfaceAudience.Private public interface ClusterSchema
| Modifier and Type | Field and Description | 
|---|---|
static int | 
DEFAULT_HBASE_MASTER_CLUSTER_SCHEMA_OPERATION_TIMEOUT
Default operation timeout in milliseconds. 
 | 
static String | 
HBASE_MASTER_CLUSTER_SCHEMA_OPERATION_TIMEOUT_KEY
Timeout for cluster operations in milliseconds. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
createNamespace(NamespaceDescriptor namespaceDescriptor,
               NonceKey nonceKey,
               ProcedurePrepareLatch latch)
Create a new Namespace. 
 | 
long | 
deleteNamespace(String name,
               NonceKey nonceKey,
               ProcedurePrepareLatch latch)
Delete an existing Namespace. 
 | 
NamespaceDescriptor | 
getNamespace(String name)
Get a Namespace 
 | 
List<NamespaceDescriptor> | 
getNamespaces()
Get all Namespaces 
 | 
TableNamespaceManager | 
getTableNamespaceManager()
For internals use only. 
 | 
long | 
modifyNamespace(NamespaceDescriptor descriptor,
               NonceKey nonceKey,
               ProcedurePrepareLatch latch)
Modify an existing Namespace. 
 | 
static final String HBASE_MASTER_CLUSTER_SCHEMA_OPERATION_TIMEOUT_KEY
static final int DEFAULT_HBASE_MASTER_CLUSTER_SCHEMA_OPERATION_TIMEOUT
TableNamespaceManager getTableNamespaceManager()
TableNamespaceManagerlong createNamespace(NamespaceDescriptor namespaceDescriptor, NonceKey nonceKey, ProcedurePrepareLatch latch) throws IOException
namespaceDescriptor - descriptor for new NamespacenonceKey - A unique identifier for this operation from the client or process.latch - A latch to block on for precondition validationIOException - Throws ClusterSchemaException and InterruptedIOException
    as well as IOExceptionlong modifyNamespace(NamespaceDescriptor descriptor, NonceKey nonceKey, ProcedurePrepareLatch latch) throws IOException
nonceKey - A unique identifier for this operation from the client or process.latch - A latch to block on for precondition validationIOException - Throws ClusterSchemaException and InterruptedIOException
    as well as IOExceptionlong deleteNamespace(String name, NonceKey nonceKey, ProcedurePrepareLatch latch) throws IOException
nonceKey - A unique identifier for this operation from the client or process.latch - A latch to block on for precondition validationIOException - Throws ClusterSchemaException and InterruptedIOException
    as well as IOExceptionNamespaceDescriptor getNamespace(String name) throws IOException
name - Name of the NamespacenameIOException - Throws ClusterSchemaException and InterruptedIOException
    as well as IOExceptionList<NamespaceDescriptor> getNamespaces() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.