Package org.apache.druid.query.lookup
Class MapLookupExtractorFactory
java.lang.Object
org.apache.druid.query.lookup.MapLookupExtractorFactory
- All Implemented Interfaces:
com.google.common.base.Supplier<LookupExtractor>,Supplier<LookupExtractor>,LookupExtractorFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.query.lookup.LookupExtractorFactory
destroy
-
Constructor Details
-
MapLookupExtractorFactory
-
-
Method Details
-
start
public boolean start()- Specified by:
startin interfaceLookupExtractorFactory
-
close
public boolean close()- Specified by:
closein interfaceLookupExtractorFactory
-
replaces
For MapLookups, the replaces consideration is very easy, it simply considers if the other is the same as this one- Specified by:
replacesin interfaceLookupExtractorFactory- Parameters:
other- Some other LookupExtractorFactory which might need replaced- Returns:
- true - should replace, false - should not replace
-
getIntrospectHandler
- Specified by:
getIntrospectHandlerin interfaceLookupExtractorFactory
-
awaitInitialization
public void awaitInitialization()- Specified by:
awaitInitializationin interfaceLookupExtractorFactory
-
isInitialized
public boolean isInitialized()- Specified by:
isInitializedin interfaceLookupExtractorFactory
-
get
- Specified by:
getin interfacecom.google.common.base.Supplier<LookupExtractor>- Specified by:
getin interfaceSupplier<LookupExtractor>
-
equals
-
hashCode
public int hashCode()
-