Class TestBulkloadBase.WalMatcher

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<org.apache.hadoop.hbase.wal.WALEdit>
org.apache.hadoop.hbase.regionserver.TestBulkloadBase.WalMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<org.apache.hadoop.hbase.wal.WALEdit>, org.hamcrest.SelfDescribing
Enclosing class:
TestBulkloadBase

private static class TestBulkloadBase.WalMatcher extends org.hamcrest.TypeSafeMatcher<org.apache.hadoop.hbase.wal.WALEdit>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final byte[]
     
    private final List<String>
     
    private final byte[]
     
    private final byte[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WalMatcher(byte[] typeBytes)
     
    WalMatcher(byte[] typeBytes, byte[] tableName, byte[] familyName, List<String> storeFileNames)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
    matchesSafely(org.apache.hadoop.hbase.wal.WALEdit item)
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, describeMismatchSafely, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • WalMatcher

      public WalMatcher(byte[] typeBytes)
    • WalMatcher

      public WalMatcher(byte[] typeBytes, byte[] tableName, byte[] familyName, List<String> storeFileNames)
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(org.apache.hadoop.hbase.wal.WALEdit item)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<org.apache.hadoop.hbase.wal.WALEdit>
    • describeTo

      public void describeTo(org.hamcrest.Description description)