Package org.apache.hadoop.hbase.filter
Class FuzzyRowFilter.RowTracker
java.lang.Object
org.apache.hadoop.hbase.filter.FuzzyRowFilter.RowTracker
- Enclosing class:
- FuzzyRowFilter
If we have multiple fuzzy keys, row tracker should improve overall performance. It calculates
all next rows (one per every fuzzy key) and put them (the fuzzy key is bundled) into a priority
queue so that the smallest row key always appears at queue head, which helps to decide the
"Next Cell Hint". As scanning going on, the number of candidate rows in the RowTracker will
remain the size of fuzzy keys until some of the fuzzy keys won't possibly have matches any
more.
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private final PriorityQueue<Pair<byte[],
Pair<byte[], byte[]>>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) boolean
(package private) byte[]
nextRow()
(package private) boolean
updateTracker
(Cell currentCell) (package private) void
updateWith
(Cell currentCell, Pair<byte[], byte[]> fuzzyData)
-
Field Details
-
nextRows
-
initialized
-
-
Constructor Details
-
RowTracker
-
-
Method Details
-
nextRow
byte[] nextRow() -
updateTracker
-
lessThan
-
updateWith
-