private static class TestBulkloadBase.WalMatcher extends org.hamcrest.TypeSafeMatcher<org.apache.hadoop.hbase.wal.WALEdit>
Modifier and Type | Field and Description |
---|---|
private byte[] |
familyName |
private List<String> |
storeFileNames |
private byte[] |
tableName |
private byte[] |
typeBytes |
Constructor and Description |
---|
WalMatcher(byte[] typeBytes) |
WalMatcher(byte[] typeBytes,
byte[] tableName,
byte[] familyName,
List<String> storeFileNames) |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(org.apache.hadoop.hbase.wal.WALEdit item) |
describeMismatch, describeMismatchSafely, matches
private final byte[] typeBytes
private final byte[] tableName
private final byte[] familyName
private final List<String> storeFileNames
public WalMatcher(byte[] typeBytes)
public WalMatcher(byte[] typeBytes, byte[] tableName, byte[] familyName, List<String> storeFileNames)
protected boolean matchesSafely(org.apache.hadoop.hbase.wal.WALEdit item)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<org.apache.hadoop.hbase.wal.WALEdit>
public void describeTo(org.hamcrest.Description description)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.