|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Private public interface TableDescriptors
Get, remove and modify table descriptors. Used by servers to host descriptors.
Method Summary | |
---|---|
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 |
Method Detail |
---|
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 TableDescriptors
IOException
HTableDescriptor remove(TableName tablename) throws IOException
tablename
-
IOException
void setCacheOn() throws IOException
IOException
void setCacheOff() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |