org.apache.hadoop.hbase.rest
Class TimestampController

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.AbstractController
      extended by org.apache.hadoop.hbase.rest.TimestampController
All Implemented Interfaces:
RESTConstants

public class TimestampController
extends AbstractController


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.rest.RESTConstants
RESTConstants.FactoryMap
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.rest.AbstractController
conf, model
 
Fields inherited from interface org.apache.hadoop.hbase.rest.RESTConstants
COLUMN, COLUMNS, DISABLE, ENABLE, EXISTS, FALSE, FILTER, FILTER_RANK, FILTER_TYPE, FILTER_VALUE, filterFactories, LIMIT, METADATA, NAME, NUM_VERSIONS, REGIONS, ROW, ROWS, SCANNER, SCANNER_COLUMN, SCANNER_FILTER, SCANNER_RESULT_SIZE, SCANNER_START_ROW, SCANNER_STOP_ROW, SCANNER_TIMESTAMP, TIME_STAMPS, TRANSACTION, TRANSACTION_OPERATION, TRANSACTION_OPERATION_ABORT, TRANSACTION_OPERATION_COMMIT, TRANSACTION_OPERATION_CREATE, TRUE, VALUE
 
Constructor Summary
TimestampController()
           
 
Method Summary
 void delete(Status s, byte[][] pathSegments, Map<String,String[]> queryMap)
           
protected  AbstractModel generateModel(HBaseConfiguration conf, HBaseAdmin admin)
           
 void get(Status s, byte[][] pathSegments, Map<String,String[]> queryMap)
           
protected  TimestampModel getModel()
           
 void post(Status s, byte[][] pathSegments, Map<String,String[]> queryMap, byte[] input, IHBaseRestParser parser)
           
 void put(Status s, byte[][] pathSegments, Map<String,String[]> queryMap, byte[] input, IHBaseRestParser parser)
           
 
Methods inherited from class org.apache.hadoop.hbase.rest.AbstractController
getColumnsFromQueryMap, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimestampController

public TimestampController()
Method Detail

getModel

protected TimestampModel getModel()

generateModel

protected AbstractModel generateModel(HBaseConfiguration conf,
                                      HBaseAdmin admin)
Specified by:
generateModel in class AbstractController

get

public void get(Status s,
                byte[][] pathSegments,
                Map<String,String[]> queryMap)
         throws HBaseRestException
Specified by:
get in class AbstractController
Throws:
HBaseRestException

post

public void post(Status s,
                 byte[][] pathSegments,
                 Map<String,String[]> queryMap,
                 byte[] input,
                 IHBaseRestParser parser)
          throws HBaseRestException
Specified by:
post in class AbstractController
Throws:
HBaseRestException

put

public void put(Status s,
                byte[][] pathSegments,
                Map<String,String[]> queryMap,
                byte[] input,
                IHBaseRestParser parser)
         throws HBaseRestException
Specified by:
put in class AbstractController
Throws:
HBaseRestException

delete

public void delete(Status s,
                   byte[][] pathSegments,
                   Map<String,String[]> queryMap)
            throws HBaseRestException
Specified by:
delete in class AbstractController
Throws:
HBaseRestException


Copyright © 2009 The Apache Software Foundation