| Package | Description |
|---|---|
| org.apache.druid.query.filter | |
| org.apache.druid.segment | |
| org.apache.druid.segment.column | |
| org.apache.druid.segment.virtual |
| Modifier and Type | Method and Description |
|---|---|
ColumnCapabilities.Capable |
BitmapIndexSelector.hasMultipleValues(String dimension) |
| Modifier and Type | Method and Description |
|---|---|
ColumnCapabilities.Capable |
ColumnSelectorBitmapIndexSelector.hasMultipleValues(String dimension) |
| Modifier and Type | Method and Description |
|---|---|
ColumnCapabilities.Capable |
ColumnCapabilities.Capable.and(ColumnCapabilities.Capable other) |
ColumnCapabilities.Capable |
ColumnCapabilitiesImpl.areDictionaryValuesSorted() |
ColumnCapabilities.Capable |
ColumnCapabilities.areDictionaryValuesSorted()
If the column is dictionary encoded, are those values sorted? Useful to know for optimizations that can defer
looking up values and allowing sorting with the dictionary ids directly
|
ColumnCapabilities.Capable |
ColumnCapabilitiesImpl.areDictionaryValuesUnique() |
ColumnCapabilities.Capable |
ColumnCapabilities.areDictionaryValuesUnique()
If the column is dictionary encoded, is there a 1:1 mapping of dictionary ids to values? If this is true, it
unlocks optimizations such as allowing for things like grouping directly on dictionary ids and deferred value
lookup
|
ColumnCapabilities.Capable |
ColumnCapabilities.Capable.coerceUnknownToBoolean(boolean unknownIsTrue) |
ColumnCapabilities.Capable |
ColumnCapabilitiesImpl.hasMultipleValues() |
ColumnCapabilities.Capable |
ColumnCapabilities.hasMultipleValues()
String columns are sneaky, and might have multiple values, this is to allow callers to know and appropriately
prepare themselves
|
ColumnCapabilities.Capable |
ColumnCapabilitiesImpl.hasNulls() |
ColumnCapabilities.Capable |
ColumnCapabilities.hasNulls()
Does this column contain null values? If so, callers, especially for primitive numeric columns, will need to check
for null value rows and act accordingly
|
ColumnCapabilities.Capable |
ColumnCapabilitiesImpl.isDictionaryEncoded() |
ColumnCapabilities.Capable |
ColumnCapabilities.isDictionaryEncoded()
Is the column dictionary encoded? If so, a DimensionDictionarySelector may be used instead of using a value
selector, allowing algorithms to operate on primitive integer dictionary ids rather than the looked up dictionary
values
|
static ColumnCapabilities.Capable |
ColumnCapabilities.Capable.of(boolean bool) |
static ColumnCapabilities.Capable |
ColumnCapabilities.Capable.ofNullable(Boolean bool) |
ColumnCapabilities.Capable |
ColumnCapabilities.Capable.or(ColumnCapabilities.Capable other) |
static ColumnCapabilities.Capable |
ColumnCapabilities.Capable.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnCapabilities.Capable[] |
ColumnCapabilities.Capable.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ColumnCapabilities.Capable |
ColumnCapabilities.Capable.and(ColumnCapabilities.Capable other) |
ColumnCapabilities.Capable |
ColumnCapabilities.Capable.or(ColumnCapabilities.Capable other) |
ColumnCapabilitiesImpl |
ColumnCapabilitiesImpl.setHasNulls(ColumnCapabilities.Capable hasNulls) |
ColumnBuilder |
ColumnBuilder.setHasNulls(ColumnCapabilities.Capable nullable) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ExpressionSelectors.canMapOverDictionary(Expr.BindingAnalysis bindingAnalysis,
ColumnCapabilities.Capable hasMultipleValues)
Returns whether an expression can be applied to unique values of a particular column (like those in a dictionary)
rather than being applied to each row individually.
|
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.