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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.druid.query.extraction.ExtractionFn
ExtractionFn.ExtractionType -
Constructor Summary
ConstructorsConstructorDescriptionLookupExtractionFn(LookupExtractor lookup, boolean retainMissingValue, String replaceMissingValueWith, Boolean injective, Boolean optimize) -
Method Summary
Methods inherited from class org.apache.druid.query.extraction.FunctionalExtraction
apply, getExtractionType, preservesOrderingMethods inherited from class org.apache.druid.query.extraction.DimExtractionFn
apply, apply
-
Constructor Details
-
LookupExtractionFn
public LookupExtractionFn(LookupExtractor lookup, boolean retainMissingValue, @Nullable String replaceMissingValueWith, @Nullable Boolean injective, @Nullable Boolean optimize)
-
-
Method Details
-
getLookup
-
isRetainMissingValue
public boolean isRetainMissingValue()- Overrides:
isRetainMissingValuein classFunctionalExtraction
-
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:
- bytes to be used as cache key - or null if this object should not be cached.
-
equals
-
hashCode
public int hashCode() -
toString
-