Class TestRecordFilter

java.lang.Object
org.apache.hadoop.hbase.hbtop.TestRecordFilter

@Tag("org.apache.hadoop.hbase.testclassification.SmallTests") public class TestRecordFilter extends Object
  • Constructor Details

  • Method Details

    • testParseAndBuilder

      @Test public void testParseAndBuilder()
    • testParseAndBuilder

      private void testParseAndBuilder(String filterString, boolean ignoreCase, org.apache.hadoop.hbase.hbtop.RecordFilter expected)
    • testParseFailure

      @Test public void testParseFailure()
    • testToString

      @Test public void testToString()
    • testToString

      private void testToString(String filterString)
    • testFilters

      @Test public void testFilters()
    • testFiltersIgnoreCase

      @Test public void testFiltersIgnoreCase()
    • createTestRecords

      private List<org.apache.hadoop.hbase.hbtop.Record> createTestRecords()
    • createTestRecord

      private org.apache.hadoop.hbase.hbtop.Record createTestRecord(String region, long requestCountPerSecond, org.apache.hadoop.hbase.Size storeFileSize, int numStoreFiles, float locality, float compactionProgress)
    • testFilter

      private void testFilter(List<org.apache.hadoop.hbase.hbtop.Record> records, String filterString, boolean ignoreCase, String... expectedRegions)
    • testFilters

      private void testFilters(List<org.apache.hadoop.hbase.hbtop.Record> records, List<String> filterStrings, boolean ignoreCase, String... expectedRegions)