@InterfaceAudience.Private
public interface TableDescriptors
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.apache.hadoop.hbase.client.TableDescriptor htd)
Add or update descriptor
|
org.apache.hadoop.hbase.client.TableDescriptor |
get(org.apache.hadoop.hbase.TableName tableName) |
Map<String,org.apache.hadoop.hbase.client.TableDescriptor> |
getAll()
Get Map of all TableDescriptors.
|
Map<String,org.apache.hadoop.hbase.client.TableDescriptor> |
getByNamespace(String name)
Get Map of all NamespaceDescriptors for a given namespace.
|
org.apache.hadoop.hbase.client.TableDescriptor |
remove(org.apache.hadoop.hbase.TableName tablename) |
void |
setCacheOff()
Disables the tabledescriptor cache
|
void |
setCacheOn()
Enables the tabledescriptor cache
|
org.apache.hadoop.hbase.client.TableDescriptor get(org.apache.hadoop.hbase.TableName tableName)
throws IOException
tableName - IOExceptionMap<String,org.apache.hadoop.hbase.client.TableDescriptor> getByNamespace(String name) throws IOException
IOExceptionMap<String,org.apache.hadoop.hbase.client.TableDescriptor> getAll() throws IOException
IOExceptionvoid add(org.apache.hadoop.hbase.client.TableDescriptor htd) throws IOException
htd - Descriptor to set into TableDescriptorsIOExceptionorg.apache.hadoop.hbase.client.TableDescriptor remove(org.apache.hadoop.hbase.TableName tablename)
throws IOException
tablename - IOExceptionvoid setCacheOn()
throws IOException
IOExceptionvoid setCacheOff()
throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.