Package org.apache.druid.query.dimension
Class BaseFilteredDimensionSpec
- java.lang.Object
-
- org.apache.druid.query.dimension.BaseFilteredDimensionSpec
-
- All Implemented Interfaces:
Cacheable,DimensionSpec
- Direct Known Subclasses:
ListFilteredDimensionSpec,PrefixFilteredDimensionSpec,RegexFilteredDimensionSpec
public abstract class BaseFilteredDimensionSpec extends Object implements DimensionSpec
-
-
Field Summary
Fields Modifier and Type Field Description protected DimensionSpecdelegate
-
Constructor Summary
Constructors Constructor Description BaseFilteredDimensionSpec(DimensionSpec delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DimensionSpecgetDelegate()StringgetDimension()ExtractionFngetExtractionFn()StringgetOutputName()ColumnTypegetOutputType()booleanmustDecorate()Does this DimensionSpec require that decorate() be called to produce correct results?booleanpreservesOrdering()If theDimensionSpec.decorate(org.apache.druid.segment.DimensionSelector)methods alter the underlying behavior of the dimension selector, does this alteration preserve the original ordering?-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.java.util.common.Cacheable
getCacheKey
-
Methods inherited from interface org.apache.druid.query.dimension.DimensionSpec
canVectorize, decorate, decorate, decorate, withDimension
-
-
-
-
Field Detail
-
delegate
protected final DimensionSpec delegate
-
-
Constructor Detail
-
BaseFilteredDimensionSpec
public BaseFilteredDimensionSpec(DimensionSpec delegate)
-
-
Method Detail
-
getDelegate
public DimensionSpec getDelegate()
-
getDimension
public String getDimension()
- Specified by:
getDimensionin interfaceDimensionSpec
-
getOutputName
public String getOutputName()
- Specified by:
getOutputNamein interfaceDimensionSpec
-
getOutputType
public ColumnType getOutputType()
- Specified by:
getOutputTypein interfaceDimensionSpec
-
getExtractionFn
public ExtractionFn getExtractionFn()
- Specified by:
getExtractionFnin interfaceDimensionSpec
-
mustDecorate
public boolean mustDecorate()
Description copied from interface:DimensionSpecDoes this DimensionSpec require that decorate() be called to produce correct results?- Specified by:
mustDecoratein interfaceDimensionSpec
-
preservesOrdering
public boolean preservesOrdering()
Description copied from interface:DimensionSpecIf theDimensionSpec.decorate(org.apache.druid.segment.DimensionSelector)methods alter the underlying behavior of the dimension selector, does this alteration preserve the original ordering?- Specified by:
preservesOrderingin interfaceDimensionSpec
-
-