@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) |
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 - IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.