use of org.apache.carbondata.core.scan.filter.executer.FilterExecutor in project carbondata by apache.
the class BlockIndex method isScanRequired.
@Override
public boolean isScanRequired(FilterResolverIntf filterExp) {
FilterExecutor filterExecutor = FilterUtil.getFilterExecutorTree(filterExp, getSegmentProperties(), null, getMinMaxCacheColumns(), false);
IndexRow unsafeRow = taskSummaryDMStore.getIndexRow(getTaskSummarySchema(), taskSummaryDMStore.getRowCount() - 1);
boolean isScanRequired = FilterExpressionProcessor.isScanRequired(filterExecutor, getMinMaxValue(unsafeRow, TASK_MAX_VALUES_INDEX), getMinMaxValue(unsafeRow, TASK_MIN_VALUES_INDEX), getMinMaxFlag(unsafeRow, TASK_MIN_MAX_FLAG));
return isScanRequired;
}
Aggregations