Class IntersectionVisitor
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.visitor.RecordQueryPlannerSubstitutionVisitor
-
- com.apple.foundationdb.record.query.plan.visitor.IntersectionVisitor
-
public class IntersectionVisitor extends RecordQueryPlannerSubstitutionVisitor
This visitor pulls index fetches after the intersection if possible. Starting Plan IntersectionPlan / \ / \ RecordQueryPlan (IndexFetch) RecordQueryPlan (IndexFetch) | | V Transformed Plan FetchFromPartialRecordPlan | | IntersectionPlan (IndexFetch) / \ / \ RecordQueryPlan RecordQueryPlan
-
-
Field Summary
-
Fields inherited from class com.apple.foundationdb.record.query.plan.visitor.RecordQueryPlannerSubstitutionVisitor
recordMetadata
-
-
Constructor Summary
Constructors Constructor Description IntersectionVisitor(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
-
IntersectionVisitor
public IntersectionVisitor(@Nonnull RecordMetaData recordMetadata, @Nonnull PlannableIndexTypes indexTypes, @Nullable KeyExpression commonPrimaryKey)
-
-
Method Detail
-
postVisit
@Nonnull public RecordQueryPlan postVisit(@Nonnull RecordQueryPlan recordQueryPlan)
- Specified by:
postVisit
in classRecordQueryPlannerSubstitutionVisitor
-
-