Uses of Interface
org.apache.druid.segment.index.BitmapColumnIndex
Packages that use BitmapColumnIndex
Package
Description
-
Uses of BitmapColumnIndex in org.apache.druid.math.expr
Methods in org.apache.druid.math.expr that return BitmapColumnIndexModifier and TypeMethodDescriptiondefault BitmapColumnIndexExpr.asBitmapColumnIndex(ColumnIndexSelector selector) Allows anExprto be computed into aBitmapColumnIndex.default BitmapColumnIndexFunction.asBitmapColumnIndex(ColumnIndexSelector selector, List<Expr> args) Allows aFunctionto be computed into aBitmapColumnIndex. -
Uses of BitmapColumnIndex in org.apache.druid.query.filter
Methods in org.apache.druid.query.filter that return BitmapColumnIndexModifier and TypeMethodDescriptionArrayContainsElementFilter.getBitmapColumnIndex(ColumnIndexSelector selector) BooleanFilter.getBitmapColumnIndex(BitmapFactory bitmapFactory, List<FilterBundle.Builder> childBuilders) Specialized alternative toFilter.getBitmapColumnIndex(ColumnIndexSelector)to allow reuse any precomputedBitmapColumnIndexcreated as part of aFilterBundle.BuilderBooleanUnaryFilter.getBitmapColumnIndex(int numRows, FilterBundle.Builder baseBuilder) Specialized alternative toFilter.getBitmapColumnIndex(ColumnIndexSelector)to allow reuse ofBitmapColumnIndexcreated as part of aFilterBundle.BuilderEqualityFilter.getBitmapColumnIndex(ColumnIndexSelector selector) Filter.getBitmapColumnIndex(ColumnIndexSelector selector) Returns aBitmapColumnIndexif this filter supports using a bitmap index for filtering for the given inputColumnIndexSelector.FilterBundle.Builder.getBitmapColumnIndex()InDimFilter.getBitmapColumnIndex(ColumnIndexSelector selector) NullFilter.getBitmapColumnIndex(ColumnIndexSelector selector) RangeFilter.getBitmapColumnIndex(ColumnIndexSelector selector) TypedInFilter.getBitmapColumnIndex(ColumnIndexSelector selector) static BitmapColumnIndexEqualityFilter.getEqualityIndex(String column, ExprEval<?> matchValueEval, ColumnType matchValueType, ColumnIndexSelector selector, DruidPredicateFactory predicateFactory) -
Uses of BitmapColumnIndex in org.apache.druid.segment.filter
Methods in org.apache.druid.segment.filter that return BitmapColumnIndexModifier and TypeMethodDescriptionAndFilter.getBitmapColumnIndex(BitmapFactory bitmapFactory, List<FilterBundle.Builder> childBuilders) AndFilter.getBitmapColumnIndex(ColumnIndexSelector selector) BoundFilter.getBitmapColumnIndex(ColumnIndexSelector selector) ColumnComparisonFilter.getBitmapColumnIndex(ColumnIndexSelector selector) DimensionPredicateFilter.getBitmapColumnIndex(ColumnIndexSelector selector) ExpressionFilter.getBitmapColumnIndex(ColumnIndexSelector selector) FalseFilter.getBitmapColumnIndex(ColumnIndexSelector selector) IsBooleanFilter.getBitmapColumnIndex(int numRows, FilterBundle.Builder baseBuilder) IsBooleanFilter.getBitmapColumnIndex(ColumnIndexSelector selector) JavaScriptFilter.getBitmapColumnIndex(ColumnIndexSelector selector) LikeFilter.getBitmapColumnIndex(ColumnIndexSelector selector) NotFilter.getBitmapColumnIndex(int numRows, FilterBundle.Builder baseBuilder) NotFilter.getBitmapColumnIndex(ColumnIndexSelector selector) OrFilter.getBitmapColumnIndex(BitmapFactory bitmapFactory, List<FilterBundle.Builder> childBuilders) OrFilter.getBitmapColumnIndex(ColumnIndexSelector selector) SelectorFilter.getBitmapColumnIndex(ColumnIndexSelector selector) SpatialFilter.getBitmapColumnIndex(ColumnIndexSelector selector) TrueFilter.getBitmapColumnIndex(ColumnIndexSelector selector) static BitmapColumnIndexFilters.makeMissingColumnNullIndex(DruidPredicateMatch match, ColumnIndexSelector selector) static BitmapColumnIndexFilters.makePredicateIndex(String column, ColumnIndexSelector selector, DruidPredicateFactory predicateFactory) -
Uses of BitmapColumnIndex in org.apache.druid.segment.index
Classes in org.apache.druid.segment.index that implement BitmapColumnIndexModifier and TypeClassDescriptionclassclassclassLikeAllFalseBitmapColumnIndexduring normal operation, except if called with 'includeUnknowns' becomes likeAllTrueBitmapColumnIndex.classCommonBitmapColumnIndeximplementation for indexes which need to scan a range of values.classCommonBitmapColumnIndeximplementation for indexes which are computed by scanning the entire value dictionary of the underlying column to check if the value index matches the filter.classBitmapColumnIndexwith Druids "default"ColumnIndexCapabilities.classfinal classSimpleBitmapColumnIndexwhich wraps a singleImmutableBitmapwith no 'unknowns', e.g.classSimpleBitmapColumnIndexfor anything which can compute anIterable<ImmutableBitmap>in some mannerMethods in org.apache.druid.segment.index that return BitmapColumnIndexModifier and TypeMethodDescriptionIndexedStringDruidPredicateIndexes.forPredicate(DruidPredicateFactory matcherFactory) IndexedUtf8LexicographicalRangeIndexes.forRange(String startValue, boolean startStrict, String endValue, boolean endStrict) IndexedUtf8LexicographicalRangeIndexes.forRange(String startValue, boolean startStrict, String endValue, boolean endStrict, DruidObjectPredicate<String> matcher) IndexedUtf8ValueIndexes.forSortedValues(List<?> sortedValues, TypeSignature<ValueType> matchValueType) IndexedUtf8ValueIndexes.forSortedValues(SortedSet<String> values) IndexedUtf8ValueIndexes.forSortedValuesUtf8(List<ByteBuffer> sortedValuesUtf8) IndexedUtf8ValueIndexes.forValue(Object value, TypeSignature<ValueType> valueType) -
Uses of BitmapColumnIndex in org.apache.druid.segment.index.semantic
Classes in org.apache.druid.segment.index.semantic that implement BitmapColumnIndexMethods in org.apache.druid.segment.index.semantic that return BitmapColumnIndexModifier and TypeMethodDescriptionstatic <T> BitmapColumnIndexValueSetIndexes.buildBitmapColumnIndexFromIteratorBinarySearch(BitmapFactory bitmapFactory, Iterable<T> values, int size, Indexed<T> dictionary, Indexed<ImmutableBitmap> bitmaps, com.google.common.base.Supplier<ImmutableBitmap> getUnknownsIndex) Helper method for implementingValueSetIndexes.forSortedValues(java.util.List<?>, org.apache.druid.segment.column.TypeSignature<org.apache.druid.segment.column.ValueType>)for a value set that is NOT sorted the same as the column dictionary.static <T> BitmapColumnIndexValueSetIndexes.buildBitmapColumnIndexFromSortedIteratorBinarySearch(BitmapFactory bitmapFactory, Iterable<T> values, int size, Indexed<T> dictionary, Indexed<ImmutableBitmap> bitmaps, com.google.common.base.Supplier<ImmutableBitmap> getUnknownsIndex) Helper method for implementingValueSetIndexes.forSortedValues(java.util.List<?>, org.apache.druid.segment.column.TypeSignature<org.apache.druid.segment.column.ValueType>)for a value set that is sorted the same as the column dictionary.static <T> BitmapColumnIndexValueSetIndexes.buildBitmapColumnIndexFromSortedIteratorScan(BitmapFactory bitmapFactory, Comparator<T> comparator, Iterable<T> values, int size, Indexed<T> dictionary, Indexed<ImmutableBitmap> bitmaps, com.google.common.base.Supplier<ImmutableBitmap> unknownsBitmap) Helper method for implementingValueSetIndexes.forSortedValues(java.util.List<?>, org.apache.druid.segment.column.TypeSignature<org.apache.druid.segment.column.ValueType>)for a value set that is sorted the same as the column dictionary.ArrayElementIndexes.containsValue(Object value, TypeSignature<ValueType> valueType) Get theImmutableBitmapcorresponding to rows with array elements matching the supplied value.DruidPredicateIndexes.forPredicate(DruidPredicateFactory matcherFactory) Get aBitmapColumnIndexcorresponding to all the rows that match the suppliedDruidPredicateFactoryLexicographicalRangeIndexes.forRange(String startValue, boolean startStrict, String endValue, boolean endStrict) Get aBitmapColumnIndexcorresponding to the values supplied in the specified range.LexicographicalRangeIndexes.forRange(String startValue, boolean startStrict, String endValue, boolean endStrict, DruidObjectPredicate<String> matcher) Get aBitmapColumnIndexcorresponding to the values supplied in the specified range whose dictionary ids also match some predicate, such as to match a prefix.NumericRangeIndexes.forRange(Number startValue, boolean startStrict, Number endValue, boolean endStrict) Get aBitmapColumnIndexcorresponding to the values supplied in the specified range.StringValueSetIndexes.forSortedValues(SortedSet<String> values) Deprecated.Get the wrappedImmutableBitmapcorresponding to the specified set of values (if they are contained in the underlying column).ValueSetIndexes.forSortedValues(List<?> sortedValues, TypeSignature<ValueType> matchValueType) Get the wrappedImmutableBitmapcorresponding to the specified set of values (if they are contained in the underlying column).Utf8ValueSetIndexes.forSortedValuesUtf8(List<ByteBuffer> sortedValuesUtf8) Get the wrappedImmutableBitmapcorresponding to the specified set of values (if they are contained in the underlying column).Deprecated.Get the wrappedImmutableBitmapcorresponding to the supplied value.ValueIndexes.forValue(Object value, TypeSignature<ValueType> valueType) Get aBitmapColumnIndexwhich can compute theImmutableBitmapcorresponding to rows matching the supplied value.NullValueIndex.get()