org.apache.hadoop.hbase.rest.parser
Class JsonRestParser

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.parser.JsonRestParser
All Implemented Interfaces:
IHBaseRestParser

public class JsonRestParser
extends Object
implements IHBaseRestParser


Constructor Summary
JsonRestParser()
           
 
Method Summary
 ArrayList<HColumnDescriptor> getColumnDescriptors(byte[] input)
           
 RowUpdateDescriptor getRowUpdateDescriptor(byte[] input, byte[][] pathSegments)
           
 ScannerDescriptor getScannerDescriptor(byte[] input)
           
 HTableDescriptor getTableDescriptor(byte[] input)
          Parses a HTableDescriptor given the input array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonRestParser

public JsonRestParser()
Method Detail

getTableDescriptor

public HTableDescriptor getTableDescriptor(byte[] input)
                                    throws HBaseRestException
Description copied from interface: IHBaseRestParser
Parses a HTableDescriptor given the input array.

Specified by:
getTableDescriptor in interface IHBaseRestParser
Returns:
HTableDescriptor
Throws:
HBaseRestException

getColumnDescriptors

public ArrayList<HColumnDescriptor> getColumnDescriptors(byte[] input)
                                                  throws HBaseRestException
Specified by:
getColumnDescriptors in interface IHBaseRestParser
Throws:
HBaseRestException

getScannerDescriptor

public ScannerDescriptor getScannerDescriptor(byte[] input)
                                       throws HBaseRestException
Specified by:
getScannerDescriptor in interface IHBaseRestParser
Throws:
HBaseRestException

getRowUpdateDescriptor

public RowUpdateDescriptor getRowUpdateDescriptor(byte[] input,
                                                  byte[][] pathSegments)
                                           throws HBaseRestException
Specified by:
getRowUpdateDescriptor in interface IHBaseRestParser
Throws:
HBaseRestException


Copyright © 2009 The Apache Software Foundation