Class UnionVisitor
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.visitor.RecordQueryPlannerSubstitutionVisitor
-
- com.apple.foundationdb.record.query.plan.visitor.UnionVisitor
-
public class UnionVisitor extends RecordQueryPlannerSubstitutionVisitor
This visitor pulls index fetches after the intersection if possible. Starting Plan UnionPlan / \ / \ RecordQueryPlan (IndexFetch) RecordQueryPlan (IndexFetch) | | V Transformed Plan UnionPlan (IndexFetch) / \ / \ RecordQueryPlan RecordQueryPlan
-
-
Field Summary
-
Fields inherited from class com.apple.foundationdb.record.query.plan.visitor.RecordQueryPlannerSubstitutionVisitor
recordMetadata
-
-
Constructor Summary
Constructors Constructor Description UnionVisitor(RecordMetaData recordMetadata, PlannableIndexTypes indexTypes, KeyExpression commonPrimaryKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordQueryPlan
postVisit(RecordQueryPlan recordQueryPlan)
-
Methods inherited from class com.apple.foundationdb.record.query.plan.visitor.RecordQueryPlannerSubstitutionVisitor
applyVisitors, availableFields, availableFields, removeIndexFetch, removeIndexFetch
-
-
-
-
Constructor Detail
-
UnionVisitor
public UnionVisitor(@Nonnull RecordMetaData recordMetadata, @Nonnull PlannableIndexTypes indexTypes, @Nullable KeyExpression commonPrimaryKey)
-
-
Method Detail
-
postVisit
@Nonnull public RecordQueryPlan postVisit(@Nonnull RecordQueryPlan recordQueryPlan)
- Specified by:
postVisit
in classRecordQueryPlannerSubstitutionVisitor
-
-