public class TestSerialization
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static byte[][] |
COLUMNS |
protected static byte[] |
fam1 |
protected static byte[] |
fam2 |
protected static byte[] |
fam3 |
protected static int |
MAXVERSIONS |
| Constructor and Description |
|---|
TestSerialization() |
| Modifier and Type | Method and Description |
|---|---|
protected HTableDescriptor |
createTableDescriptor(java.lang.String name)
Create a table of name
name with COLUMNS for
families. |
protected HTableDescriptor |
createTableDescriptor(java.lang.String name,
int versions)
Create a table of name
name with COLUMNS for
families. |
void |
testCompareFilter() |
void |
testCreateKeyValueInvalidNegativeLength() |
void |
testGet() |
void |
testKeyValue() |
void |
testRegionInfo()
Test RegionInfo serialization
|
void |
testRegionInfos() |
void |
testScan() |
void |
testSplitLogTask() |
void |
testTableDescriptor() |
protected static final int MAXVERSIONS
protected static final byte[] fam1
protected static final byte[] fam2
protected static final byte[] fam3
protected static final byte[][] COLUMNS
public void testKeyValue()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateKeyValueInvalidNegativeLength()
public void testSplitLogTask()
throws DeserializationException
DeserializationExceptionpublic void testCompareFilter()
throws java.lang.Exception
java.lang.Exceptionpublic void testTableDescriptor()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionInfo()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionInfos()
throws java.lang.Exception
java.lang.Exceptionpublic void testGet()
throws java.lang.Exception
java.lang.Exceptionpublic void testScan()
throws java.lang.Exception
java.lang.Exceptionprotected HTableDescriptor createTableDescriptor(java.lang.String name)
name with COLUMNS for
families.name - Name to give table.protected HTableDescriptor createTableDescriptor(java.lang.String name,
int versions)
name with COLUMNS for
families.name - Name to give table.versions - How many versions to allow per column.