public class LookupDimensionSpec extends Object implements DimensionSpec
| Constructor and Description | 
|---|
LookupDimensionSpec(String dimension,
                   String outputName,
                   LookupExtractor lookup,
                   boolean retainMissingValue,
                   String replaceMissingValueWith,
                   String name,
                   LookupReferencesManager lookupReferencesManager,
                   Boolean optimize)  | 
| Modifier and Type | Method and Description | 
|---|---|
DimensionSelector | 
decorate(DimensionSelector selector)  | 
boolean | 
equals(Object o)  | 
byte[] | 
getCacheKey()
Get a byte array used as a cache key. 
 | 
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()  | 
public LookupDimensionSpec(String dimension, String outputName, LookupExtractor lookup, boolean retainMissingValue, String replaceMissingValueWith, String name, LookupReferencesManager lookupReferencesManager, Boolean optimize)
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()
CacheablegetCacheKey in interface Cacheablepublic boolean preservesOrdering()
preservesOrdering in interface DimensionSpecCopyright © 2011–2018. All rights reserved.