Package org.apache.druid.query.planning
Class PreJoinableClause
java.lang.Object
org.apache.druid.query.planning.PreJoinableClause
Like
JoinableClause, but contains a DataSource instead of a
Joinable. This is useful because when analyzing joins, we don't want to
actually create Joinables, since that can be an expensive operation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()makeUpdatedJoinDataSource(DataSource newSource, DimFilter joinBaseFilter, JoinableFactoryWrapper joinableFactoryWrapper) If the data source is aRestrictedDataSourcewith aNoRestrictionPolicy, unwraps it to a table and return.toString()
-
Constructor Details
-
PreJoinableClause
-
-
Method Details
-
getPrefix
-
getDataSource
-
maybeUnwrapRestrictedDataSource
If the data source is aRestrictedDataSourcewith aNoRestrictionPolicy, unwraps it to a table and return.This is a temporary workaround to allow the planner to work with
RestrictedDataSourceas the right-side join. -
getJoinType
-
getCondition
-
getJoinAlgorithm
-
equals
-
hashCode
public int hashCode() -
toString
-
makeUpdatedJoinDataSource
public JoinDataSource makeUpdatedJoinDataSource(DataSource newSource, DimFilter joinBaseFilter, JoinableFactoryWrapper joinableFactoryWrapper)
-