Package org.apache.druid.query
Class LeafDataSource
java.lang.Object
org.apache.druid.query.LeafDataSource
- All Implemented Interfaces:
Cacheable,DataSource
- Direct Known Subclasses:
FrameBasedInlineDataSource,InlineDataSource,LookupDataSource,TableDataSource
Leaf
DataSource-s have no inputs.-
Field Summary
Fields inherited from interface org.apache.druid.query.DataSource
JOIN_OPERATION_CACHE_ID, NOOP_CACHE_ID, TABLE_DATA_SOURCE_CACHE_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSegmentMapFunction(Query query) Returns a segment function on to how to segment should be modified.final List<DataSource>Returns datasources that this datasource depends on.final DataSourcewithChildren(List<DataSource> children) Return a new DataSource, identical to this one, with different children.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.query.DataSource
createSegmentPruner, getCacheKey, getTableNames, isCacheable, isGlobal, isProcessable, withPolicies
-
Constructor Details
-
LeafDataSource
public LeafDataSource()
-
-
Method Details
-
getChildren
Description copied from interface:DataSourceReturns datasources that this datasource depends on. Will be empty for leaf datasources like 'table'.- Specified by:
getChildrenin interfaceDataSource
-
withChildren
Description copied from interface:DataSourceReturn a new DataSource, identical to this one, with different children. The number of children must be equal to the number of children that this datasource already has.- Specified by:
withChildrenin interfaceDataSource
-
createSegmentMapFunction
Description copied from interface:DataSourceReturns a segment function on to how to segment should be modified.- Specified by:
createSegmentMapFunctionin interfaceDataSource
-