Package org.apache.druid.segment.column
Interface ColumnCapabilities.CoercionLogic
- Enclosing interface:
- ColumnCapabilities
public static interface ColumnCapabilities.CoercionLogic
This interface defines the shape of a mechanism to allow for bespoke coercion of
ColumnCapabilities.Capable.UNKNOWN into
ColumnCapabilities.Capable.TRUE or ColumnCapabilities.Capable.FALSE for each ColumnCapabilities.Capable of a ColumnCapabilities, as is
appropriate for the situation of the caller.-
Method Summary
Modifier and TypeMethodDescriptionbooleanIfColumnCapabilities.isDictionaryEncoded()isColumnCapabilities.Capable.UNKNOWN, define if it should be treated as true or false.booleanIfColumnCapabilities.areDictionaryValuesSorted()isColumnCapabilities.Capable.UNKNOWN, define if it should be treated as true or false.booleanIfColumnCapabilities.areDictionaryValuesUnique()isColumnCapabilities.Capable.UNKNOWN, define if it should be treated as true or false.booleanhasNulls()IfColumnCapabilities.hasNulls()isColumnCapabilities.Capable.UNKNOWN, define if it should be treated as true or false.booleanIfColumnCapabilities.hasMultipleValues()isColumnCapabilities.Capable.UNKNOWN, define if it should be treated as true or false.
-
Method Details
-
dictionaryEncoded
boolean dictionaryEncoded()IfColumnCapabilities.isDictionaryEncoded()isColumnCapabilities.Capable.UNKNOWN, define if it should be treated as true or false. -
dictionaryValuesSorted
boolean dictionaryValuesSorted()IfColumnCapabilities.areDictionaryValuesSorted()isColumnCapabilities.Capable.UNKNOWN, define if it should be treated as true or false. -
dictionaryValuesUnique
boolean dictionaryValuesUnique()IfColumnCapabilities.areDictionaryValuesUnique()isColumnCapabilities.Capable.UNKNOWN, define if it should be treated as true or false. -
multipleValues
boolean multipleValues()IfColumnCapabilities.hasMultipleValues()isColumnCapabilities.Capable.UNKNOWN, define if it should be treated as true or false. -
hasNulls
boolean hasNulls()IfColumnCapabilities.hasNulls()isColumnCapabilities.Capable.UNKNOWN, define if it should be treated as true or false.
-