org.apache.hadoop.hbase.rest
Class TableController
java.lang.Object
org.apache.hadoop.hbase.rest.AbstractController
org.apache.hadoop.hbase.rest.TableController
- All Implemented Interfaces:
- RESTConstants
public class TableController
- extends AbstractController
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 |
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 TableModel |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableController
public TableController()
getModel
protected TableModel 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