public class TestHColumnDescriptorDefaultVersions extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
org.junit.rules.TestName |
name |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestHColumnDescriptorDefaultVersions() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterAllTests() |
static void |
beforeAllTests()
Start up a mini cluster and put a small table of empty regions into it.
|
void |
setup() |
void |
testCreateTableWithDefault() |
void |
testCreateTableWithDefaultFromConf() |
void |
testCreateTableWithSetVersion() |
void |
testHColumnDescriptorCachedMaxVersions() |
private void |
verifyHColumnDescriptor(int expected,
org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] hcds,
org.apache.hadoop.hbase.TableName tableName,
byte[]... families) |
private void |
verifyHColumnDescriptor(int expected,
org.apache.hadoop.hbase.TableName tableName,
byte[]... families) |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private static final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.hbase.TableName TABLE_NAME
private static final byte[] FAMILY
public TestHColumnDescriptorDefaultVersions()
public static void beforeAllTests() throws Exception
Exceptionpublic void setup()
public static void afterAllTests() throws Exception
Exceptionpublic void testCreateTableWithDefault() throws IOException
IOExceptionpublic void testCreateTableWithDefaultFromConf() throws Exception
Exceptionpublic void testCreateTableWithSetVersion() throws Exception
Exceptionpublic void testHColumnDescriptorCachedMaxVersions() throws Exception
Exceptionprivate void verifyHColumnDescriptor(int expected, org.apache.hadoop.hbase.TableName tableName, byte[]... families) throws IOException
IOExceptionprivate void verifyHColumnDescriptor(int expected, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] hcds, org.apache.hadoop.hbase.TableName tableName, byte[]... families)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.