AtteanX::API::JoinRotatingPlanner3pm
Query planning role to produce alternative join plans
Version
This document describes AtteanX::API::JoinRotatingPlanner version 0.035
Overview
The AtteanX::API::JoinRotatingPlanner role, when used with Attean::QueryPlanner, produces alternatives for join query plans. Specifically, joins of the form (A⋈B)⋈C are rotated to A⋈(B⋈C), with the ability to coalesce B⋈C (e.g. for adjacent BGPs).
Required methods
- allow_join_rotation( $join_plan )
-
Returns true if join rotation should be attempted on the given join plan.
- coalesce_rotated_join( $join_plan )
-
Given a Attean::API::Plan::Join plan
$join_plan, returns a list of equivalent plans. This is useful when the join can be reduced to a more fundamental plan type, such as merging two adjacent BGP plans into a single plan.
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.