public class TestMetaBrowser extends Object
MetaBrowser
.Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestMetaBrowser.MockRequestBuilder
Helper for mocking an
HttpServletRequest relevant to the test. |
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.client.AsyncAdmin |
admin |
private ClearUserNamespacesAndTablesRule |
clearUserNamespacesAndTablesRule |
private org.apache.hadoop.hbase.client.AsyncConnection |
connection |
private ConnectionRule |
connectionRule |
static MiniClusterRule |
miniClusterRule |
org.junit.rules.TestRule |
rule |
org.junit.rules.TestName |
testNameRule |
static HBaseClassTestRule |
testRule |
Constructor and Description |
---|
TestMetaBrowser() |
Modifier and Type | Method and Description |
---|---|
void |
before() |
private org.apache.hadoop.hbase.client.ColumnFamilyDescriptor |
columnFamilyDescriptor() |
private CompletableFuture<Void> |
createNamespace(String namespace) |
private CompletableFuture<Void> |
createTable(org.apache.hadoop.hbase.TableName tableName) |
private CompletableFuture<Void> |
createTable(org.apache.hadoop.hbase.TableName tableName,
int splitCount) |
private CompletableFuture<Void> |
createTableWithReplicas(org.apache.hadoop.hbase.TableName tableName,
int replicaCount) |
void |
limit() |
void |
noFilters() |
void |
paginateWithReplicas() |
void |
paginateWithTableFilter() |
void |
regionStateFilter() |
void |
scanTableFilter() |
private org.apache.hadoop.hbase.client.TableDescriptor |
tableDescriptor(org.apache.hadoop.hbase.TableName tableName) |
private org.apache.hadoop.hbase.client.TableDescriptor |
tableDescriptor(org.apache.hadoop.hbase.TableName tableName,
int replicaCount) |
public static final HBaseClassTestRule testRule
public static final MiniClusterRule miniClusterRule
private final ConnectionRule connectionRule
private final ClearUserNamespacesAndTablesRule clearUserNamespacesAndTablesRule
public org.junit.rules.TestRule rule
public org.junit.rules.TestName testNameRule
private org.apache.hadoop.hbase.client.AsyncConnection connection
private org.apache.hadoop.hbase.client.AsyncAdmin admin
public TestMetaBrowser()
public void before()
public void noFilters()
public void limit()
public void regionStateFilter()
public void scanTableFilter()
public void paginateWithReplicas()
public void paginateWithTableFilter()
private org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamilyDescriptor()
private org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor(org.apache.hadoop.hbase.TableName tableName)
private org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor(org.apache.hadoop.hbase.TableName tableName, int replicaCount)
private CompletableFuture<Void> createTable(org.apache.hadoop.hbase.TableName tableName)
private CompletableFuture<Void> createTable(org.apache.hadoop.hbase.TableName tableName, int splitCount)
private CompletableFuture<Void> createTableWithReplicas(org.apache.hadoop.hbase.TableName tableName, int replicaCount)
private CompletableFuture<Void> createNamespace(String namespace)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.