public class LookupDimensionSpec extends Object implements DimensionSpec
| Constructor and Description |
|---|
LookupDimensionSpec(String dimension,
String outputName,
LookupExtractor lookup,
boolean retainMissingValue,
String replaceMissingValueWith,
String name,
Boolean optimize,
LookupExtractorFactoryContainerProvider lookupExtractorFactoryContainerProvider) |
| Modifier and Type | Method and Description |
|---|---|
DimensionSelector |
decorate(DimensionSelector selector) |
boolean |
equals(Object o) |
byte[] |
getCacheKey() |
String |
getDimension() |
ExtractionFn |
getExtractionFn() |
LookupExtractor |
getLookup() |
String |
getName() |
String |
getOutputName() |
ValueType |
getOutputType() |
int |
hashCode() |
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
DimensionSpec.getDimension())
replaced by "newDimension". |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcanVectorize, decorate, decoratepublic LookupDimensionSpec(String dimension, String outputName, LookupExtractor lookup, boolean retainMissingValue, String replaceMissingValueWith, String name, Boolean optimize, LookupExtractorFactoryContainerProvider lookupExtractorFactoryContainerProvider)
public String getDimension()
getDimension in interface DimensionSpecpublic String getOutputName()
getOutputName in interface DimensionSpecpublic ValueType getOutputType()
getOutputType in interface DimensionSpec@Nullable public LookupExtractor getLookup()
public ExtractionFn getExtractionFn()
getExtractionFn in interface DimensionSpecpublic DimensionSelector decorate(DimensionSelector selector)
decorate in interface DimensionSpecpublic boolean mustDecorate()
DimensionSpecmustDecorate in interface DimensionSpecpublic byte[] getCacheKey()
getCacheKey in interface Cacheablepublic boolean preservesOrdering()
preservesOrdering in interface DimensionSpecpublic DimensionSpec withDimension(String newDimension)
DimensionSpecDimensionSpec.getDimension())
replaced by "newDimension".withDimension in interface DimensionSpecCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.