public class NoopJoinableFactory extends Object implements JoinableFactory
Modifier and Type | Field and Description |
---|---|
static NoopJoinableFactory |
INSTANCE |
Modifier | Constructor and Description |
---|---|
protected |
NoopJoinableFactory() |
Modifier and Type | Method and Description |
---|---|
Optional<Joinable> |
build(DataSource dataSource,
JoinConditionAnalysis condition)
Create a Joinable object.
|
boolean |
isDirectlyJoinable(DataSource dataSource)
Returns true if a
Joinable **may** be created for a given DataSource , but is not a guarantee that
JoinableFactory.build(org.apache.druid.query.DataSource, org.apache.druid.segment.join.JoinConditionAnalysis) will return a non-empty result. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeJoinCacheKey
public static final NoopJoinableFactory INSTANCE
public boolean isDirectlyJoinable(DataSource dataSource)
JoinableFactory
Joinable
**may** be created for a given DataSource
, but is not a guarantee that
JoinableFactory.build(org.apache.druid.query.DataSource, org.apache.druid.segment.join.JoinConditionAnalysis)
will return a non-empty result. Successfully building a Joinable
might require specific
criteria of the JoinConditionAnalysis
.isDirectlyJoinable
in interface JoinableFactory
public Optional<Joinable> build(DataSource dataSource, JoinConditionAnalysis condition)
JoinableFactory
build
in interface JoinableFactory
dataSource
- the datasource to join oncondition
- the condition to join onCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.