public static class LikeDimFilter.LikeMatcher extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LikeDimFilter.LikeMatcher.SuffixMatch |
Modifier and Type | Method and Description |
---|---|
static LikeDimFilter.LikeMatcher |
from(String likePattern,
Character escapeChar) |
String |
getPrefix() |
LikeDimFilter.LikeMatcher.SuffixMatch |
getSuffixMatch() |
boolean |
matches(String s) |
boolean |
matchesSuffixOnly(Indexed<String> strings,
int i)
Checks if the suffix of strings.get(i) matches the suffix of this matcher.
|
DruidPredicateFactory |
predicateFactory(ExtractionFn extractionFn) |
public static LikeDimFilter.LikeMatcher from(String likePattern, @Nullable Character escapeChar)
public boolean matchesSuffixOnly(Indexed<String> strings, int i)
public DruidPredicateFactory predicateFactory(ExtractionFn extractionFn)
public String getPrefix()
public LikeDimFilter.LikeMatcher.SuffixMatch getSuffixMatch()
Copyright © 2011–2017. All rights reserved.