Package org.apache.hadoop.hbase.filter
Class TestPrefixFilter
java.lang.Object
org.apache.hadoop.hbase.filter.TestPrefixFilter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) static final char
(package private) static final String
(package private) static final char
(package private) org.apache.hadoop.hbase.filter.Filter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate byte[]
createRow
(char c) void
void
private void
prefixRowTests
(org.apache.hadoop.hbase.filter.Filter filter) private void
prefixRowTests
(org.apache.hadoop.hbase.filter.Filter filter, boolean lastFilterAllRemaining) void
setUp()
void
void
void
void
void
void
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
mainFilter
org.apache.hadoop.hbase.filter.Filter mainFilter -
FIRST_CHAR
- See Also:
-
LAST_CHAR
- See Also:
-
HOST_PREFIX
- See Also:
-
-
Constructor Details
-
TestPrefixFilter
public TestPrefixFilter()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testPrefixOnRow
- Throws:
Exception
-
testPrefixOnRowInsideWhileMatchRow
- Throws:
Exception
-
testSerialization
- Throws:
Exception
-
prefixRowTests
- Throws:
Exception
-
prefixRowTests
private void prefixRowTests(org.apache.hadoop.hbase.filter.Filter filter, boolean lastFilterAllRemaining) throws Exception - Throws:
Exception
-
createRow
-
shouldProvideHintWhenKeyBefore
-
shouldProvideHintWhenKeyBeforeAndShorter
-
shouldIncludeWhenKeyMatches
-
shouldReturnNextRowWhenKeyAfter
-
shouldProvideHintWhenKeyBeforeReversed
-
hintShouldIncreaseLastNonMaxByteWhenReversed
-
shouldIncludeWhenKeyMatchesReversed
-
shouldReturnNextRowWhenKeyAfterReversed
-
hintShouldNotIncreaseMaxBytesWhenReversed
-
shouldNotThrowWhenCreatedWithNullPrefix
-
shouldNotThrowWhenCreatedWithEmptyByteArrayPrefix
-