@InterfaceAudience.Private public interface TableDescriptors
| Modifier and Type | Method and Description |
|---|---|
void |
add(HTableDescriptor htd)
Add or update descriptor
|
HTableDescriptor |
get(TableName tableName) |
Map<String,HTableDescriptor> |
getAll()
Get Map of all HTableDescriptors.
|
Map<String,HTableDescriptor> |
getByNamespace(String name)
Get Map of all NamespaceDescriptors for a given namespace.
|
HTableDescriptor |
remove(TableName tablename) |
void |
setCacheOff()
Disables the tabledescriptor cache
|
void |
setCacheOn()
Enables the tabledescriptor cache
|
HTableDescriptor get(TableName tableName) throws IOException
tableName - IOExceptionMap<String,HTableDescriptor> getByNamespace(String name) throws IOException
IOExceptionMap<String,HTableDescriptor> getAll() throws IOException
IOExceptionvoid add(HTableDescriptor htd) throws IOException
htd - Descriptor to set into TableDescriptorsIOExceptionHTableDescriptor remove(TableName tablename) throws IOException
tablename - IOExceptionvoid setCacheOn()
throws IOException
IOExceptionvoid setCacheOff()
throws IOException
IOExceptionCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.