optimizer

package
v0.0.0-...-5265a8e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLogicalTree

func CreateLogicalTree(runtime *config.ConfigRuntime, sqlStr string) (node plan.PlanNode, err error)

func DeleteRenameNode

func DeleteRenameNode(node plan.PlanNode) error

func ExtractAggFunc

func ExtractAggFunc(runtime *config.ConfigRuntime, node plan.PlanNode) error

func ExtractDistinctExpressions

func ExtractDistinctExpressions(funcs []*plan.FuncCallNode) []*plan.ExpressionNode

func FilterColumns

func FilterColumns(node plan.PlanNode, columns []string) error

func GetJoinKeys

func GetJoinKeys(leftInput, rightInput plan.PlanNode, e *plan.BooleanExpressionNode) (*plan.ValueExpressionNode, *plan.ValueExpressionNode, bool)

func HashJoin

func HashJoin(runtime *config.ConfigRuntime, node plan.PlanNode) error

func NewValueExpressionFromIdentifier

func NewValueExpressionFromIdentifier(runtime *config.ConfigRuntime, id *plan.IdentifierNode) *plan.ValueExpressionNode

func PredicatePushDown

func PredicatePushDown(node plan.PlanNode, predicates []*plan.BooleanExpressionNode) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL