Package org.apache.druid.query.filter
-
Interface Summary Interface Description BooleanFilter ColumnIndexSelector DimFilter DruidDoublePredicate Note: this is not aPublicApior anExtensionPointof Druid.DruidFloatPredicate Note: this is not aPublicApior anExtensionPointof Druid.DruidLongPredicate Note: this is not aPublicApior anExtensionPointof Druid.DruidObjectPredicate<T> DruidPredicateFactory Filter FilterBundle.IndexBundle FilterBundle.MatcherBundle Builder ofValueMatcherandVectorValueMatcher.ValueMatcher An object that returns a boolean indicating if the "current" row should be selected or not. -
Class Summary Class Description AbstractOptimizableDimFilter Base class for mostDimFilter.AndDimFilter ArrayContainsElementFilter Check to see if an array contains a specific element.BoundDimFilter Recommended to useRangeFilterinsteadColumnComparisonDimFilter DimFilter.DimFilterToStringBuilder Wrapper forStringBuilderto re-use common patterns in customDimFilter#toString()implementationsDimFilters DimFilterUtils EqualityFilter EqualityFilter.EqualityPredicateFactory EqualityFilter.TypedConstantValueMatcherFactory ExpressionDimFilter ExtractionDimFilter Deprecated. FallbackPredicate<T> Predicatethat wraps another predicate and can catchClassCastExceptionfrom someComparatorand degrades into casting input to an expectedExpressionTypeonce an exception is encountered.FalseDimFilter FilterBundle FilterBundle is a container for all the goodies used for producing filtered cursors, aImmutableBitmapif the filter can use an index, and/or aFilterBundle.MatcherBundlewhich contains functions to buildValueMatcherandVectorValueMatcherfor any filters which must be evaluated row by row during the cursor scan.FilterBundle.BundleInfo FilterBundle.IndexBundleInfo FilterBundle.MatcherBundleInfo FilterBundle.SimpleIndexBundle FilterBundle.SimpleMatcherBundle FilterTuning This class provides a mechanism to influence whether or not indexes are used for aFilterduring processing byFilter.makeFilterBundle(ColumnIndexSelector, BitmapResultFactory, int, int, boolean)(i.e.InDimFilter Approximately like the SQL 'IN' filter, with the main difference being that this will match NULL values if contained in the values list instead of ignoring them.InDimFilter.InFilterDruidPredicateFactory InDimFilter.ValuesSet IntervalDimFilter IsBooleanDimFilter Abstract SQL three-value logic wrapper for some childDimFilterto implement '{filter} IS TRUE' and '{filter} IS FALSE'.IsFalseDimFilter IsTrueDimFilter JavaScriptDimFilter JavaScriptDimFilter.JavaScriptPredicateFactory LikeDimFilter LikeDimFilter.LikeMatcher NotDimFilter NullFilter NullFilter.NullPredicateFactory OrDimFilter RangeFilter RegexDimFilter SearchQueryDimFilter SelectorDimFilter Recommended to useEqualityFilterorNullFilterinsteadSelectorPredicateFactory ADruidPredicateFactorythat checks if input values equal a specific, provided value.SpatialDimFilter StringPredicateDruidPredicateFactory TrueDimFilter TypedInFilter Approximately like the SQL 'IN' filter, with the main difference being that this will match NULL values if contained in the values list instead of ignoring them.TypedInFilter.PredicateFactory -
Enum Summary Enum Description DruidPredicateMatch Three-value logic result for matching values with predicates produced byDruidPredicateFactoryLikeDimFilter.LikeMatcher.SuffixMatch RangeFilter.RangeType