Package org.apache.hadoop.hbase.filter
Class TestPrefixFilter
java.lang.Object
org.apache.hadoop.hbase.filter.TestPrefixFilter
-
Field Summary
FieldsModifier 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate byte[]createRow(char c) voidvoidprivate voidprefixRowTests(org.apache.hadoop.hbase.filter.Filter filter) private voidprefixRowTests(org.apache.hadoop.hbase.filter.Filter filter, boolean lastFilterAllRemaining) voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
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
-