public abstract class TestMultiColumnScanner extends Object
Modifier and Type | Field and Description |
---|---|
private static long |
BIG_LONG
A large value of type long for use as a timestamp
|
org.apache.hadoop.hbase.regionserver.BloomType |
bloomType |
private static double |
COLUMN_SKIP_IN_STORE_FILE_PROB
The probability that a column is skipped in a store file.
|
org.apache.hadoop.hbase.io.compress.Compression.Algorithm |
comprAlgo |
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding |
dataBlockEncoding |
private static double |
DELETE_PROBABILITY
The probability to delete a row/column pair
|
private static String |
FAMILY |
private static byte[] |
FAMILY_BYTES |
private static org.slf4j.Logger |
LOG |
private static int |
MAX_COLUMN_BIT_MASK |
(package private) static int |
MAX_VERSIONS |
private static int |
NUM_COLUMNS
The size of the column qualifier set used.
|
private static int |
NUM_FLUSHES |
private static int |
NUM_ROWS |
private static String |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
private static long[] |
TIMESTAMPS
Timestamps to test with.
|
Constructor and Description |
---|
TestMultiColumnScanner() |
Modifier and Type | Method and Description |
---|---|
(package private) static String |
createValue(String row,
String qual,
long ts) |
static Collection<Object[]> |
generateParams(org.apache.hadoop.hbase.io.compress.Compression.Algorithm algo,
boolean useDataBlockEncoding) |
private static String |
getRowQualStr(org.apache.hadoop.hbase.Cell kv) |
private static boolean |
matchesQuery(org.apache.hadoop.hbase.KeyValue kv,
Set<String> qualSet,
int maxVersions,
Map<String,Long> lastDelTimeMap) |
private static String |
qualStr(org.apache.hadoop.hbase.KeyValue kv) |
private static List<String> |
sequentialStrings(String prefix,
int n) |
void |
testMultiColumnScanner() |
private static final org.slf4j.Logger LOG
private static final String TABLE_NAME
static final int MAX_VERSIONS
private static final String FAMILY
private static final byte[] FAMILY_BYTES
private static final int NUM_COLUMNS
private static final int MAX_COLUMN_BIT_MASK
private static final int NUM_FLUSHES
private static final int NUM_ROWS
private static final long BIG_LONG
private static final long[] TIMESTAMPS
Long.MAX_VALUE
here, because it will be replaced by
an timestamp auto-generated based on the time.private static final double COLUMN_SKIP_IN_STORE_FILE_PROB
private static final double DELETE_PROBABILITY
private static final HBaseTestingUtility TEST_UTIL
public org.apache.hadoop.hbase.io.compress.Compression.Algorithm comprAlgo
public org.apache.hadoop.hbase.regionserver.BloomType bloomType
public org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dataBlockEncoding
public TestMultiColumnScanner()
public static Collection<Object[]> generateParams(org.apache.hadoop.hbase.io.compress.Compression.Algorithm algo, boolean useDataBlockEncoding)
public void testMultiColumnScanner() throws IOException
IOException
private static String getRowQualStr(org.apache.hadoop.hbase.Cell kv)
private static boolean matchesQuery(org.apache.hadoop.hbase.KeyValue kv, Set<String> qualSet, int maxVersions, Map<String,Long> lastDelTimeMap)
static String createValue(String row, String qual, long ts)
private static List<String> sequentialStrings(String prefix, int n)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.