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 DimensionSpec
public String getOutputName()
getOutputName
in interface DimensionSpec
public ValueType getOutputType()
getOutputType
in interface DimensionSpec
@Nullable public LookupExtractor getLookup()
public ExtractionFn getExtractionFn()
getExtractionFn
in interface DimensionSpec
public DimensionSelector decorate(DimensionSelector selector)
decorate
in interface DimensionSpec
public boolean mustDecorate()
DimensionSpec
mustDecorate
in interface DimensionSpec
public byte[] getCacheKey()
Cacheable
getCacheKey
in interface Cacheable
public boolean preservesOrdering()
preservesOrdering
in interface DimensionSpec
Copyright © 2011–2017. All rights reserved.