Filter:运行在服务器端,
RegionScannerImpl中的nextInternal(int limit)方法中进行调用
private boolean nextInternal(int limit) throws IOException {
while (true) {
byte [] currentRow = peekRow();
if (isStopRow(currentRow)) {
if (filter != null && filter.hasFilterRow()) {
filter.filterRow(results);
}
if (filter != null && filter.filterRow()) {
results.clear();
}
return false;
} else if (filterRowKey(currentRow)) {
nextRow(currentRow);
未完,待补充