Package org.apache.druid.segment.column
Interface ColumnIndexCapabilities
-
- All Known Implementing Classes:
SimpleColumnIndexCapabilities
public interface ColumnIndexCapabilities
Sort of likeColumnCapabilities
, except for indexes supplied byColumnIndexSelector
, provides information for how query processing may use indexes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isExact()
Indicates if an index is an exact match, or should also be post-filtered with a value matcher.boolean
isInvertible()
Indicates if an index can be inverted for use with a 'NOT' filter.ColumnIndexCapabilities
merge(ColumnIndexCapabilities other)
-
-
-
Method Detail
-
isInvertible
boolean isInvertible()
Indicates if an index can be inverted for use with a 'NOT' filter. Some types of indexes may not be invertible, such as those which provide false positive matches.
-
isExact
boolean isExact()
Indicates if an index is an exact match, or should also be post-filtered with a value matcher. Filters which are not an exact match must always use a value matcher as a post-filter, even if they have an index.
-
merge
ColumnIndexCapabilities merge(ColumnIndexCapabilities other)
-
-