Package org.apache.druid.segment.column
Class SimpleColumnIndexCapabilities
java.lang.Object
org.apache.druid.segment.column.SimpleColumnIndexCapabilities
- All Implemented Interfaces:
ColumnIndexCapabilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ColumnIndexCapabilitiesColumnIndexCapabilitiesto 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.booleanIndicates if an index can be inverted for use with a 'NOT' filter.merge(ColumnIndexCapabilities other)
-
Constructor Details
-
SimpleColumnIndexCapabilities
public SimpleColumnIndexCapabilities(boolean invertible, boolean exact)
-
-
Method Details
-
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
- Specified by:
mergein interfaceColumnIndexCapabilities
-
equals
-
hashCode
public int hashCode()
-