Package org.apache.druid.segment.column
Class SimpleColumnIndexCapabilities
- java.lang.Object
-
- org.apache.druid.segment.column.SimpleColumnIndexCapabilities
-
- All Implemented Interfaces:
ColumnIndexCapabilities
public class SimpleColumnIndexCapabilities extends Object implements ColumnIndexCapabilities
-
-
Constructor Summary
Constructors Constructor Description SimpleColumnIndexCapabilities(boolean invertible, boolean exact)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ColumnIndexCapabilitiesgetConstant()ColumnIndexCapabilitiesto use for constant values (including 'null' values for 'missing' columns)inthashCode()booleanisExact()Indicates if an index is an exact match, or should also be post-filtered with a value matcher.booleanisInvertible()Indicates if an index can be inverted for use with a 'NOT' filter.ColumnIndexCapabilitiesmerge(ColumnIndexCapabilities other)
-
-
-
Method Detail
-
getConstant
public static ColumnIndexCapabilities getConstant()
ColumnIndexCapabilitiesto use for constant values (including 'null' values for 'missing' columns)
-
isInvertible
public boolean isInvertible()
Description copied from interface:ColumnIndexCapabilitiesIndicates 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.- Specified by:
isInvertiblein interfaceColumnIndexCapabilities
-
isExact
public boolean isExact()
Description copied from interface:ColumnIndexCapabilitiesIndicates 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.- Specified by:
isExactin interfaceColumnIndexCapabilities
-
merge
public ColumnIndexCapabilities merge(ColumnIndexCapabilities other)
- Specified by:
mergein interfaceColumnIndexCapabilities
-
-