org.apache.hadoop.hbase.rest
Class AbstractModel

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.AbstractModel
Direct Known Subclasses:
DatabaseModel, RowModel, ScannerModel, TableModel, TimestampModel

public abstract class AbstractModel
extends Object


Nested Class Summary
protected static class AbstractModel.Encodings
           
 
Field Summary
protected  HBaseAdmin admin
           
protected static byte COLON
           
protected  HBaseConfiguration conf
           
protected static AbstractModel.Encodings.Encoding encoding
           
 
Constructor Summary
AbstractModel()
           
 
Method Summary
protected  byte[][] getColumns(byte[] tableName)
           
 void initialize(HBaseConfiguration conf, HBaseAdmin admin)
           
protected  boolean isColumnFamily(byte[] columnName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conf

protected HBaseConfiguration conf

admin

protected HBaseAdmin admin

encoding

protected static final AbstractModel.Encodings.Encoding encoding

COLON

protected static final byte COLON
Constructor Detail

AbstractModel

public AbstractModel()
Method Detail

initialize

public void initialize(HBaseConfiguration conf,
                       HBaseAdmin admin)

getColumns

protected byte[][] getColumns(byte[] tableName)
                       throws HBaseRestException
Throws:
HBaseRestException

isColumnFamily

protected boolean isColumnFamily(byte[] columnName)


Copyright © 2010 The Apache Software Foundation