org.apache.hadoop.hbase.rest
Class DatabaseModel.DatabaseMetadata

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.DatabaseModel.DatabaseMetadata
All Implemented Interfaces:
ISerializable
Enclosing class:
DatabaseModel

public static class DatabaseModel.DatabaseMetadata
extends Object
implements ISerializable


Field Summary
protected  boolean master_running
           
protected  HTableDescriptor[] tables
           
 
Constructor Summary
DatabaseModel.DatabaseMetadata(HBaseAdmin a)
           
 
Method Summary
 HTableDescriptor[] getTables()
           
 boolean isMasterRunning()
           
 void restSerialize(IRestSerializer serializer)
          visitor pattern method where the object implementing this interface will call back on the IRestSerializer with the correct method to run to serialize the output of the object to the stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

master_running

protected boolean master_running

tables

protected HTableDescriptor[] tables
Constructor Detail

DatabaseModel.DatabaseMetadata

public DatabaseModel.DatabaseMetadata(HBaseAdmin a)
                               throws IOException
Throws:
IOException
Method Detail

isMasterRunning

public boolean isMasterRunning()

getTables

public HTableDescriptor[] getTables()

restSerialize

public void restSerialize(IRestSerializer serializer)
                   throws HBaseRestException
Description copied from interface: ISerializable
visitor pattern method where the object implementing this interface will call back on the IRestSerializer with the correct method to run to serialize the output of the object to the stream.

Specified by:
restSerialize in interface ISerializable
Throws:
HBaseRestException


Copyright © 2010 The Apache Software Foundation