public class TestRecordFilter extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
Constructor and Description |
---|
TestRecordFilter() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.hbtop.Record |
createTestRecord(String region,
long requestCountPerSecond,
org.apache.hadoop.hbase.Size storeFileSize,
int numStoreFiles,
float locality,
float compactionProgress) |
private List<org.apache.hadoop.hbase.hbtop.Record> |
createTestRecords() |
private void |
testFilter(List<org.apache.hadoop.hbase.hbtop.Record> records,
String filterString,
boolean ignoreCase,
String... expectedRegions) |
void |
testFilters() |
private void |
testFilters(List<org.apache.hadoop.hbase.hbtop.Record> records,
List<String> filterStrings,
boolean ignoreCase,
String... expectedRegions) |
void |
testFiltersIgnoreCase() |
void |
testParseAndBuilder() |
private void |
testParseAndBuilder(String filterString,
boolean ignoreCase,
org.apache.hadoop.hbase.hbtop.RecordFilter expected) |
void |
testParseFailure() |
void |
testToString() |
private void |
testToString(String filterString) |
public static final HBaseClassTestRule CLASS_RULE
public TestRecordFilter()
public void testParseAndBuilder()
private void testParseAndBuilder(String filterString, boolean ignoreCase, org.apache.hadoop.hbase.hbtop.RecordFilter expected)
public void testParseFailure()
public void testToString()
private void testToString(String filterString)
public void testFilters()
public void testFiltersIgnoreCase()
private List<org.apache.hadoop.hbase.hbtop.Record> createTestRecords()
private org.apache.hadoop.hbase.hbtop.Record createTestRecord(String region, long requestCountPerSecond, org.apache.hadoop.hbase.Size storeFileSize, int numStoreFiles, float locality, float compactionProgress)
private void testFilter(List<org.apache.hadoop.hbase.hbtop.Record> records, String filterString, boolean ignoreCase, String... expectedRegions)
private void testFilters(List<org.apache.hadoop.hbase.hbtop.Record> records, List<String> filterStrings, boolean ignoreCase, String... expectedRegions)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.