Package org.apache.druid.query.filter
package org.apache.druid.query.filter
-
ClassDescriptionBase class for most
DimFilter.Check to see if an array contains a specific element.Recommended to useRangeFilterinsteadWrapper forStringBuilderto re-use common patterns in customimplementationsinvalid reference
DimFilter#toString()Note: this is not aPublicApior anExtensionPointof Druid.Note: this is not aPublicApior anExtensionPointof Druid.Note: this is not aPublicApior anExtensionPointof Druid.Three-value logic result for matching values with predicates produced byDruidPredicateFactoryDeprecated.Predicatethat wraps another predicate and can catchClassCastExceptionfrom someComparatorand degrades into casting input to an expectedExpressionTypeonce an exception is encountered.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.Wraps info needed to build aFilterBundle, and provides an estimated compute cost forBitmapColumnIndex.computeBitmapResult(org.apache.druid.query.BitmapResultFactory<T>, boolean).Builder ofValueMatcherandVectorValueMatcher.This class provides a mechanism to influence whether or not indexes are used for aFilterduring processing byFilter.makeFilterBundle(FilterBundle.Builder, BitmapResultFactory, int, int, boolean)(i.e.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.Abstract SQL three-value logic wrapper for some childDimFilterto implement '{filter} IS TRUE' and '{filter} IS FALSE'.Recommended to useEqualityFilterorNullFilterinsteadADruidPredicateFactorythat checks if input values equal a specific, provided value.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.An object that returns a boolean indicating if the "current" row should be selected or not.