public class RegexFilter extends DimensionPredicateFilter
basePredicateString, dimension, extractionFn, filterTuning, predicateFactory| Constructor and Description |
|---|
RegexFilter(String dimension,
Pattern pattern,
ExtractionFn extractionFn,
FilterTuning filterTuning) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
Filter |
rewriteRequiredColumns(Map<String,String> columnRewrites)
Return a copy of this filter that is identical to the this filter except that it operates on different columns,
based on a renaming map where the key is the column to be renamed in the filter, and the value is the new
column name.
|
boolean |
supportsRequiredColumnRewrite()
Returns true is this filter is able to return a copy of this filter that is identical to this filter except that it
operates on different columns, based on a renaming map.
|
String |
toString() |
canVectorizeMatcher, estimateSelectivity, getBitmapResult, getRequiredColumns, makeMatcher, makeVectorMatcher, shouldUseBitmapIndex, supportsBitmapIndex, supportsSelectivityEstimationclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBitmapIndexpublic RegexFilter(String dimension, Pattern pattern, ExtractionFn extractionFn, FilterTuning filterTuning)
public String toString()
toString in class DimensionPredicateFilterpublic boolean supportsRequiredColumnRewrite()
Filterpublic Filter rewriteRequiredColumns(Map<String,String> columnRewrites)
FiltercolumnRewrites - Column rewrite mappublic boolean equals(Object o)
equals in class DimensionPredicateFilterpublic int hashCode()
hashCode in class DimensionPredicateFilterCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.