public interface IFilterWriteStrategy
| Modifier and Type | Method and Description |
|---|---|
FilterType |
preferedType(int rown)
Returns which (actual) filter is recommended to use for this row.
|
void |
reportResultsForFilter(int rown,
FilterType type,
byte[] rowbfilter,
boolean tentative)
Reports the filtered row, so that the strategy can compute statistics.
|
List<FilterType> |
shouldTest(int rown)
Returns which filter types should be tested (tried) for this row.
|
List<FilterType> shouldTest(int rown)
void reportResultsForFilter(int rown,
FilterType type,
byte[] rowbfilter,
boolean tentative)
rown - Row numbertype - To which (real) filter this result correspondsrowbfilter - Filtered row (first byte is filter type)tentative - If true, this signals that this is a test/try; if false, we
confirm that this row is to be writtenFilterType preferedType(int rown)
rown - FilterTypeCopyright © 2013. All rights reserved.