@InterfaceAudience.Private public interface ClusterSchema
| Modifier and Type | Field and Description | 
|---|---|
| static int | DEFAULT_HBASE_MASTER_CLUSTER_SCHEMA_OPERATION_TIMEOUTDefault operation timeout in milliseconds. | 
| static String | HBASE_MASTER_CLUSTER_SCHEMA_OPERATION_TIMEOUT_KEYTimeout 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 - if service is not running see ServiceNotRunningExceptionlong 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 - if service is not running see ServiceNotRunningExceptionlong 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 - if service is not running see ServiceNotRunningExceptionNamespaceDescriptor getNamespace(String name) throws IOException
name - Name of the NamespacenameIOException - if namespace does not existList<NamespaceDescriptor> getNamespaces() throws IOException
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.