Package org.apache.druid.query.lookup
Class LookupSegment
java.lang.Object
org.apache.druid.segment.RowBasedSegment<Map.Entry<String,String>>
org.apache.druid.query.lookup.LookupSegment
- All Implemented Interfaces:
Closeable,AutoCloseable,Segment
A
Segment that is based on a LookupExtractor. Allows direct
querying of lookups. The lookup must support LookupExtractor.asMap().-
Constructor Summary
ConstructorsConstructorDescriptionLookupSegment(String lookupName, LookupExtractorFactory lookupExtractorFactory) -
Method Summary
Modifier and TypeMethodDescriptionDeveloper friendly string suitable to use in internal error messages and provide some additional information about what kind of segment was involved in a problemMethods inherited from class org.apache.druid.segment.RowBasedSegment
as, close, getDataInterval, getIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.segment.Segment
isTombstone, validateOrElseThrow
-
Constructor Details
-
LookupSegment
-
-
Method Details
-
getDebugString
Description copied from interface:SegmentDeveloper friendly string suitable to use in internal error messages and provide some additional information about what kind of segment was involved in a problem
-