public class TestQueryMatcher extends HBaseTestCase
HBaseTestCase.ClientScannerIncommon, HBaseTestCase.FlushCache, HBaseTestCase.HRegionIncommon, HBaseTestCase.HTableIncommon, HBaseTestCase.Incommon, HBaseTestCase.InternalScannerIncommon, HBaseTestCase.ScannerIncommon
COLUMNS, conf, fam3, FIRST_CHAR, fs, fsTableDescriptors, LAST_CHAR, MAXVERSIONS, meta, PUNCTUATION, START_KEY, START_KEY_BYTES, testDir, testUtil
Constructor and Description |
---|
TestQueryMatcher() |
Modifier and Type | Method and Description |
---|---|
void |
setUp()
Note that this method must be called after the mini hdfs cluster has
started or we end up with a local file system.
|
void |
testMatch_ExpiredExplicit()
Verify that
ScanQueryMatcher only skips expired KeyValue
instances and does not exit early from the row (skipping
later non-expired KeyValues). |
void |
testMatch_ExpiredWildcard()
Verify that
ScanQueryMatcher only skips expired KeyValue
instances and does not exit early from the row (skipping
later non-expired KeyValues). |
void |
testMatch_ExplicitColumns() |
void |
testMatch_PartialRangeDropDeletes() |
void |
testMatch_Wildcard() |
addContent, addContent, addContent, addContent, addContent, addContent, addContent, assertByteEquals, assertEquals, assertResultEquals, closeRootAndMeta, createMetaRegion, createNewHRegion, createNewHRegion, createTableDescriptor, createTableDescriptor, createTableDescriptor, getUnitTestdir, openClosedRegion, shutdownDfs, tearDown
public void setUp() throws Exception
HBaseTestCase
setUp
in class HBaseTestCase
Exception
public void testMatch_ExplicitColumns() throws IOException
IOException
public void testMatch_Wildcard() throws IOException
IOException
public void testMatch_ExpiredExplicit() throws IOException
ScanQueryMatcher
only skips expired KeyValue
instances and does not exit early from the row (skipping
later non-expired KeyValues). This version mimics a Get with
explicitly specified column qualifiers.IOException
public void testMatch_ExpiredWildcard() throws IOException
ScanQueryMatcher
only skips expired KeyValue
instances and does not exit early from the row (skipping
later non-expired KeyValues). This version mimics a Get with
wildcard-inferred column qualifiers.IOException