Documentation ¶
Overview ¶
Package planbuilder allows you to build execution plans that describe how to fulfill a query that may span multiple keyspaces or shards.
The main entry point for the planbuilder is the Build function that accepts a query and vschema and returns the plan.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
Build builds a plan for a query based on the specified vschema. It's the main entry point for this package.
func BuildFromStmt ¶
BuildFromStmt builds a plan based on the AST provided. TODO(sougou): The query input is trusted as the source of the AST. Maybe this function just returns instructions and engine.Plan can be built by the caller.
Types ¶
Click to show internal directories.
Click to hide internal directories.