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
Exception
public void setup()
public static void afterAllTests() throws Exception
Exception
public void testCreateTableWithDefault() throws IOException
IOException
public void testCreateTableWithDefaultFromConf() throws Exception
Exception
public void testCreateTableWithSetVersion() throws Exception
Exception
public void testHColumnDescriptorCachedMaxVersions() throws Exception
Exception
private void verifyHColumnDescriptor(int expected, org.apache.hadoop.hbase.TableName tableName, byte[]... families) throws IOException
IOException
private 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.