@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
- IOException
Map<String,HTableDescriptor> getByNamespace(String name) throws IOException
IOException
Map<String,HTableDescriptor> getAll() throws IOException
IOException
void add(HTableDescriptor htd) throws IOException
htd
- Descriptor to set into TableDescriptorsIOException
HTableDescriptor remove(TableName tablename) throws IOException
tablename
- IOException
void setCacheOn() throws IOException
IOException
void setCacheOff() throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.