@InterfaceAudience.Private public interface TableDescriptors
Modifier and Type | Method and Description |
---|---|
TableDescriptor |
get(TableName tableName) |
Map<String,TableDescriptor> |
getAll()
Get Map of all TableDescriptors.
|
Map<String,TableDescriptor> |
getByNamespace(String name)
Get Map of all NamespaceDescriptors for a given namespace.
|
TableDescriptor |
remove(TableName tablename) |
void |
setCacheOff()
Disables the tabledescriptor cache
|
void |
setCacheOn()
Enables the tabledescriptor cache
|
void |
update(TableDescriptor htd)
Add or update descriptor
|
TableDescriptor get(TableName tableName) throws IOException
IOException
Map<String,TableDescriptor> getByNamespace(String name) throws IOException
IOException
Map<String,TableDescriptor> getAll() throws IOException
TableName.getNameWithNamespaceInclAsString()
.IOException
void update(TableDescriptor htd) throws IOException
htd
- Descriptor to set into TableDescriptorsIOException
TableDescriptor remove(TableName tablename) throws IOException
IOException
void setCacheOn() throws IOException
IOException
void setCacheOff() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.