public interface ClusterSchema
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_HBASE_MASTER_CLUSTER_SCHEMA_OPERATION_TIMEOUT
Default operation timeout in milliseconds.
|
static java.lang.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(java.lang.String name,
NonceKey nonceKey,
ProcedurePrepareLatch latch)
Delete an existing Namespace.
|
NamespaceDescriptor |
getNamespace(java.lang.String name)
Get a Namespace
|
java.util.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 java.lang.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 java.io.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 validationjava.io.IOException - Throws ClusterSchemaException and InterruptedIOException
as well as IOExceptionlong modifyNamespace(NamespaceDescriptor descriptor,
NonceKey nonceKey,
ProcedurePrepareLatch latch)
throws java.io.IOException
nonceKey - A unique identifier for this operation from the client or process.latch - A latch to block on for precondition validationjava.io.IOException - Throws ClusterSchemaException and InterruptedIOException
as well as IOExceptionlong deleteNamespace(java.lang.String name,
NonceKey nonceKey,
ProcedurePrepareLatch latch)
throws java.io.IOException
nonceKey - A unique identifier for this operation from the client or process.latch - A latch to block on for precondition validationjava.io.IOException - Throws ClusterSchemaException and InterruptedIOException
as well as IOExceptionNamespaceDescriptor getNamespace(java.lang.String name)
throws java.io.IOException
name - Name of the Namespacenamejava.io.IOException - Throws ClusterSchemaException and InterruptedIOException
as well as IOExceptionjava.util.List<NamespaceDescriptor> getNamespaces()
throws java.io.IOException
java.io.IOException