@SubclassesMustOverrideEqualsAndHashCode public interface DimensionSpec extends Cacheable
PublicApi, since it is not meant to be stable for usage by non-built-in queries.| Modifier and Type | Method and Description |
|---|---|
default boolean |
canVectorize()
Does this DimensionSpec have working
decorate(SingleValueDimensionVectorSelector) and
decorate(MultiValueDimensionVectorSelector) methods? |
DimensionSelector |
decorate(DimensionSelector selector) |
default MultiValueDimensionVectorSelector |
decorate(MultiValueDimensionVectorSelector selector) |
default SingleValueDimensionVectorSelector |
decorate(SingleValueDimensionVectorSelector selector) |
String |
getDimension() |
ExtractionFn |
getExtractionFn()
Deprecated.
|
String |
getOutputName() |
ValueType |
getOutputType() |
boolean |
mustDecorate()
Does this DimensionSpec require that decorate() be called to produce correct results?
|
boolean |
preservesOrdering() |
DimensionSpec |
withDimension(String newDimension)
Returns a copy of this DimensionSpec with the underlying dimension (the value of
getDimension())
replaced by "newDimension". |
getCacheKeyString getDimension()
String getOutputName()
ValueType getOutputType()
@Deprecated @Nullable ExtractionFn getExtractionFn()
DimensionSelector decorate(DimensionSelector selector)
default SingleValueDimensionVectorSelector decorate(SingleValueDimensionVectorSelector selector)
default MultiValueDimensionVectorSelector decorate(MultiValueDimensionVectorSelector selector)
boolean mustDecorate()
default boolean canVectorize()
decorate(SingleValueDimensionVectorSelector) and
decorate(MultiValueDimensionVectorSelector) methods?boolean preservesOrdering()
DimensionSpec withDimension(String newDimension)
getDimension())
replaced by "newDimension".Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.