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
Modifier and TypeFieldDescriptionprivate final byte[]
private final byte[]
private final byte[]
-
Constructor Summary
ConstructorDescriptionWalMatcher
(byte[] typeBytes) WalMatcher
(byte[] typeBytes, byte[] tableName, byte[] familyName, List<String> storeFileNames) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Field Details
-
typeBytes
-
tableName
-
familyName
-
storeFileNames
-
-
Constructor Details
-
WalMatcher
-
WalMatcher
public WalMatcher(byte[] typeBytes, byte[] tableName, byte[] familyName, List<String> storeFileNames)
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<org.apache.hadoop.hbase.wal.WALEdit>
-
describeTo
-