org.apache.hadoop.hbase.master
Class TableNamespaceManager

java.lang.Object
  extended by org.apache.hadoop.hbase.master.TableNamespaceManager

@InterfaceAudience.Private
public class TableNamespaceManager
extends Object

This is a helper class used to manage the namespace metadata that is stored in TableName.NAMESPACE_TABLE_NAME It also mirrors updates to the ZK store by forwarding updates to ZKNamespaceManager


Constructor Summary
TableNamespaceManager(MasterServices masterServices)
           
 
Method Summary
 void create(NamespaceDescriptor ns)
           
 NamespaceDescriptor get(String name)
           
 NavigableSet<NamespaceDescriptor> list()
           
 void remove(String name)
           
 void start()
           
 void update(NamespaceDescriptor ns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableNamespaceManager

public TableNamespaceManager(MasterServices masterServices)
                      throws IOException
Throws:
IOException
Method Detail

start

public void start()
           throws IOException
Throws:
IOException

get

public NamespaceDescriptor get(String name)
                        throws IOException
Throws:
IOException

create

public void create(NamespaceDescriptor ns)
            throws IOException
Throws:
IOException

update

public void update(NamespaceDescriptor ns)
            throws IOException
Throws:
IOException

remove

public void remove(String name)
            throws IOException
Throws:
IOException

list

public NavigableSet<NamespaceDescriptor> list()
                                       throws IOException
Throws:
IOException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.