@InterfaceAudience.Private public interface TableDescriptors
| Modifier and Type | Method and Description | 
|---|---|
| void | add(TableDescriptor htd)Add or update descriptor | 
| 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 | 
TableDescriptor get(TableName tableName) throws IOException
tableName - IOExceptionMap<String,TableDescriptor> getByNamespace(String name) throws IOException
IOExceptionMap<String,TableDescriptor> getAll() throws IOException
TableName.getNameWithNamespaceInclAsString().IOExceptionvoid add(TableDescriptor htd) throws IOException
htd - Descriptor to set into TableDescriptorsIOExceptionTableDescriptor remove(TableName tablename) throws IOException
tablename - IOExceptionvoid setCacheOn() throws IOException
IOExceptionvoid setCacheOff() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.