public final class MultipleColumnPrefixFilter extends ScanFilter
Efficiently compares the column qualifier bytes up to the length of the prefix to see if it matches.
Only setting this filter will return all rows that match the criteria but at the same will cost a full table scan. However, it utilizes the sorting of the qualifiers to seek efficiently within the row.
Constructor and Description |
---|
MultipleColumnPrefixFilter(byte[][] prefixes)
Constructor.
|
MultipleColumnPrefixFilter(String[] prefixes)
Constructor for UTF-8 prefix strings.
|
public MultipleColumnPrefixFilter(String[] prefixes)
public MultipleColumnPrefixFilter(byte[][] prefixes)
IllegalArgumentException
- if the prefixes array is empty.Copyright © 2010-2017, The Async HBase Authors