Package org.apache.druid.query.lookup
Class LookupExtractionFn
- java.lang.Object
-
- org.apache.druid.query.extraction.DimExtractionFn
-
- org.apache.druid.query.extraction.FunctionalExtraction
-
- org.apache.druid.query.lookup.LookupExtractionFn
-
- All Implemented Interfaces:
Cacheable,ExtractionFn
public class LookupExtractionFn extends FunctionalExtraction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.druid.query.extraction.ExtractionFn
ExtractionFn.ExtractionType
-
-
Constructor Summary
Constructors Constructor Description LookupExtractionFn(LookupExtractor lookup, boolean retainMissingValue, String replaceMissingValueWith, Boolean injective, Boolean optimize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)byte[]getCacheKey()Get a byte array used as a cache key.LookupExtractorgetLookup()StringgetReplaceMissingValueWith()inthashCode()booleanisInjective()booleanisOptimize()booleanisRetainMissingValue()StringtoString()-
Methods inherited from class org.apache.druid.query.extraction.FunctionalExtraction
apply, getExtractionType, preservesOrdering
-
Methods inherited from class org.apache.druid.query.extraction.DimExtractionFn
apply, apply
-
-
-
-
Method Detail
-
getLookup
public LookupExtractor getLookup()
-
isRetainMissingValue
public boolean isRetainMissingValue()
- Overrides:
isRetainMissingValuein classFunctionalExtraction
-
getReplaceMissingValueWith
public String getReplaceMissingValueWith()
- Overrides:
getReplaceMissingValueWithin classFunctionalExtraction
-
isInjective
public boolean isInjective()
- Overrides:
isInjectivein classFunctionalExtraction
-
isOptimize
public boolean isOptimize()
-
getCacheKey
public byte[] getCacheKey()
Description copied from interface:CacheableGet a byte array used as a cache key.- Returns:
- a cache key
-
-