public class TestScanRowPrefix extends FilterTestingCluster
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
Constructor and Description |
---|
TestScanRowPrefix() |
Modifier and Type | Method and Description |
---|---|
private int |
calculateWidth(String label1,
List<byte[]> listOfBytes1) |
private String |
getStringFromList(List<byte[]> listOfBytes,
int offset) |
private String |
printLine(String leftValue,
int leftWidth1,
String rightValue,
int rightWidth) |
private String |
printMultiple(char letter,
int count) |
private String |
tableOfTwoListsOfByteArrays(String label1,
List<byte[]> listOfBytes1,
String label2,
List<byte[]> listOfBytes2) |
void |
testPrefixScanning() |
private void |
verifyScanResult(org.apache.hadoop.hbase.client.Table table,
org.apache.hadoop.hbase.client.Scan scan,
List<byte[]> expectedKeys,
String message) |
createTable, openTable, setUp, tearDown
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public org.junit.rules.TestName name
public TestScanRowPrefix()
public void testPrefixScanning() throws IOException
IOException
private void verifyScanResult(org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.hbase.client.Scan scan, List<byte[]> expectedKeys, String message)
private String printMultiple(char letter, int count)
private String tableOfTwoListsOfByteArrays(String label1, List<byte[]> listOfBytes1, String label2, List<byte[]> listOfBytes2)
private String printLine(String leftValue, int leftWidth1, String rightValue, int rightWidth)
private int calculateWidth(String label1, List<byte[]> listOfBytes1)
private String getStringFromList(List<byte[]> listOfBytes, int offset)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.