public class TestThriftHBaseServiceHandler
extends java.lang.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(java.util.List<TColumnValue> columnValuesA,
java.util.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(java.util.List<TColumnValue> columnValuesA, java.util.List<TColumnValue> columnValuesB)
public static void beforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void afterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void setup()
throws java.lang.Exception
java.lang.Exceptionpublic void testPutGet()
throws java.lang.Exception
java.lang.Exceptionpublic void testPutGetMultiple()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteMultiple()
throws java.lang.Exception
java.lang.Exceptionpublic void testDelete()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteAllTimestamps()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteSingleTimestamp()
throws java.lang.Exception
java.lang.Exceptionpublic void testIncrement()
throws java.lang.Exception
java.lang.Exceptionpublic void testAppend()
throws java.lang.Exception
java.lang.Exceptionpublic void testCheckAndPut()
throws java.lang.Exception
java.lang.Exceptionpublic void testCheckAndDelete()
throws java.lang.Exception
java.lang.Exceptionpublic void testScan()
throws java.lang.Exception
java.lang.Exceptionpublic void testReverseScan()
throws java.lang.Exception
java.lang.Exceptionpublic void testScanWithFilter()
throws java.lang.Exception
java.lang.Exceptionpublic void testScanWithBatchSize()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetScannerResults()
throws java.lang.Exception
java.lang.Exceptionpublic void testFilterRegistration()
throws java.lang.Exception
java.lang.Exceptionpublic void testMetrics()
throws java.lang.Exception
java.lang.Exceptionpublic void testAttribute()
throws java.lang.Exception
java.lang.Exceptionpublic void testMutateRow()
throws java.lang.Exception
java.lang.Exceptionpublic void testDurability()
throws java.lang.Exception
java.lang.Exception