public static <T> T matchPredicate(
      final String dimension,
      final BitmapIndexSelector selector,
      BitmapResultFactory<T> bitmapResultFactory,
      final Predicate<String> predicate
  )
  {
    return bitmapResultFactory.unionDimensionValueBitmaps(matchPredicateNoUnion(dimension, selector, predicate));
  }
public static < T > T matchPredicate ( final String dimension , final BitmapIndexSelector selector , BitmapResultFactory < T > bitmapResultFactory , final Predicate < String > predicate ) { return bitmapResultFactory . unionDimensionValueBitmaps ( matchPredicateNoUnion ( dimension , selector , predicate ) ) ; }
Return the union of bitmaps for all values matching a particular predicate.

@param dimension dimension to look at
@param selector  bitmap selector
@param bitmapResultFactory
@param predicate predicate to use
@return bitmap of matching rows

@see #estimateSelectivity(String, BitmapIndexSelector, Predicate)