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 DimensionSpec
delegate
-
Constructor Summary
Constructors Constructor Description BaseFilteredDimensionSpec(DimensionSpec delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DimensionSpec
getDelegate()
String
getDimension()
ExtractionFn
getExtractionFn()
String
getOutputName()
ColumnType
getOutputType()
boolean
mustDecorate()
Does this DimensionSpec require that decorate() be called to produce correct results?boolean
preservesOrdering()
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:
getDimension
in interfaceDimensionSpec
-
getOutputName
public String getOutputName()
- Specified by:
getOutputName
in interfaceDimensionSpec
-
getOutputType
public ColumnType getOutputType()
- Specified by:
getOutputType
in interfaceDimensionSpec
-
getExtractionFn
public ExtractionFn getExtractionFn()
- Specified by:
getExtractionFn
in interfaceDimensionSpec
-
mustDecorate
public boolean mustDecorate()
Description copied from interface:DimensionSpec
Does this DimensionSpec require that decorate() be called to produce correct results?- Specified by:
mustDecorate
in interfaceDimensionSpec
-
preservesOrdering
public boolean preservesOrdering()
Description copied from interface:DimensionSpec
If 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:
preservesOrdering
in interfaceDimensionSpec
-
-