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