org.apache.hadoop.hbase.rest
Class TableModel.Regions
java.lang.Object
org.apache.hadoop.hbase.rest.TableModel.Regions
- All Implemented Interfaces:
- ISerializable
- Enclosing class:
- TableModel
public static class TableModel.Regions
- extends Object
- implements ISerializable
Method Summary |
byte[][] |
getRegionKey()
|
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. |
void |
setRegionKey(byte[][] regionKey)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableModel.Regions
public TableModel.Regions(byte[][] bs)
getRegionKey
public byte[][] getRegionKey()
- Returns:
- the regionKey
setRegionKey
public void setRegionKey(byte[][] regionKey)
- Parameters:
regionKey
- the regionKey to set
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