Package org.apache.druid.segment.join
Class NoopJoinableFactory
java.lang.Object
org.apache.druid.segment.join.NoopJoinableFactory
- All Implemented Interfaces:
JoinableFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(DataSource dataSource, JoinConditionAnalysis condition) Create a Joinable object.booleanisDirectlyJoinable(DataSource dataSource) Returns true if aJoinable**may** be created for a givenDataSource, but is not a guarantee thatJoinableFactory.build(org.apache.druid.query.DataSource, org.apache.druid.segment.join.JoinConditionAnalysis)will return a non-empty result.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.segment.join.JoinableFactory
computeJoinCacheKey
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoopJoinableFactory
protected NoopJoinableFactory()
-
-
Method Details
-
isDirectlyJoinable
Description copied from interface:JoinableFactoryReturns true if aJoinable**may** be created for a givenDataSource, but is not a guarantee thatJoinableFactory.build(org.apache.druid.query.DataSource, org.apache.druid.segment.join.JoinConditionAnalysis)will return a non-empty result. Successfully building aJoinablemight require specific criteria of theJoinConditionAnalysis.- Specified by:
isDirectlyJoinablein interfaceJoinableFactory
-
build
Description copied from interface:JoinableFactoryCreate a Joinable object. This may be an expensive operation involving loading data, creating a hash table, etc.- Specified by:
buildin interfaceJoinableFactory- Parameters:
dataSource- the datasource to join oncondition- the condition to join on- Returns:
- a Joinable if this datasource + condition combo is joinable; empty if not
-