Class JoinFilterAnalysis
java.lang.Object
org.apache.druid.segment.join.filter.JoinFilterAnalysis
Holds information about:
- whether a filter can be pushed down
- if it needs to be retained after the join,
- a reference to the original filter
- a potentially rewritten filter to be pushed down to the base table
- a list of virtual columns that need to be created on the base table to support the pushed down filter
-
Constructor Summary
ConstructorsConstructorDescriptionJoinFilterAnalysis(boolean retainAfterJoin, Filter originalFilter, Filter pushDownFilter) -
Method Summary
Modifier and TypeMethodDescriptionstatic JoinFilterAnalysiscreateNoPushdownFilterAnalysis(Filter originalFilter) Utility method for generating an analysis that represents: "Filter cannot be pushed down"booleanboolean
-
Constructor Details
-
JoinFilterAnalysis
-
-
Method Details
-
isCanPushDown
public boolean isCanPushDown() -
isRetainAfterJoin
public boolean isRetainAfterJoin() -
getOriginalFilter
-
getPushDownFilter
-
createNoPushdownFilterAnalysis
Utility method for generating an analysis that represents: "Filter cannot be pushed down"- Parameters:
originalFilter- The original filter which cannot be pushed down- Returns:
- analysis that represents: "Filter cannot be pushed down"
-