public class TestThriftHBaseServiceHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static Log |
LOG |
| Constructor and Description |
|---|
TestThriftHBaseServiceHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterClass() |
void |
assertTColumnValuesEqual(List<TColumnValue> columnValuesA,
List<TColumnValue> columnValuesB) |
static void |
beforeClass() |
void |
setup() |
void |
testAppend() |
void |
testAttribute() |
void |
testCheckAndDelete()
check that checkAndDelete fails if the cell does not exist, then put in the cell, then
check that the checkAndDelete succeeds.
|
void |
testCheckAndPut()
check that checkAndPut fails if the cell does not exist, then put in the cell, then check
that the checkAndPut succeeds.
|
void |
testDelete() |
void |
testDeleteAllTimestamps() |
void |
testDeleteMultiple() |
void |
testDeleteSingleTimestamp() |
void |
testDurability()
Create TPut, TDelete , TIncrement objects, set durability then call ThriftUtility
functions to get Put , Delete and Increment respectively.
|
void |
testExists() |
void |
testFilterRegistration() |
void |
testGetScannerResults() |
void |
testIncrement() |
void |
testMetrics() |
void |
testMutateRow()
Put valueA to a row, make sure put has happened, then create a mutation object to put valueB
and delete ValueA, then check that the row value is only valueB.
|
void |
testPutGet() |
void |
testPutGetMultiple() |
void |
testReverseScan() |
void |
testScan() |
void |
testScanWithBatchSize() |
void |
testScanWithFilter() |
public void assertTColumnValuesEqual(List<TColumnValue> columnValuesA, List<TColumnValue> columnValuesB)
public void testDeleteSingleTimestamp()
throws Exception
Exceptionpublic void testCheckAndPut()
throws Exception
Exceptionpublic void testCheckAndDelete()
throws Exception
Exceptionpublic void testMutateRow()
throws Exception
Exceptionpublic void testDurability()
throws Exception
Exception