octosql: github.com/cube2222/octosql/parser Index | Files | Directories

package parser

import "github.com/cube2222/octosql/parser"

Index

Package Files

parser.go

Variables

var ErrNotAggregate = errors.New("expression is not aggregate")

func ParseAggregate Uses

func ParseAggregate(expr sqlparser.Expr) (logical.Aggregate, logical.NamedExpression, error)

func ParseAliasedExpression Uses

func ParseAliasedExpression(expr *sqlparser.AliasedExpr) (logical.NamedExpression, error)

func ParseAliasedTableExpression Uses

func ParseAliasedTableExpression(expr *sqlparser.AliasedTableExpr, mustBeAliased bool) (logical.Node, error)

func ParseExpression Uses

func ParseExpression(expr sqlparser.Expr) (logical.Expression, error)

func ParseFunctionArgument Uses

func ParseFunctionArgument(expr *sqlparser.AliasedExpr) (logical.Expression, error)

func ParseInfixComparison Uses

func ParseInfixComparison(left, right sqlparser.Expr, operator string) (logical.Formula, error)

func ParseInfixOperator Uses

func ParseInfixOperator(left, right sqlparser.Expr, operator string) (logical.Formula, error)

func ParseJoinTableExpression Uses

func ParseJoinTableExpression(expr *sqlparser.JoinTableExpr) (logical.Node, error)

func ParseLogic Uses

func ParseLogic(expr sqlparser.Expr) (logical.Formula, error)

func ParseLogicExpression Uses

func ParseLogicExpression(expr sqlparser.Expr) (*logical.LogicExpression, error)

func ParseNode Uses

func ParseNode(statement sqlparser.SelectStatement) (logical.Node, error)

func ParsePrefixOperator Uses

func ParsePrefixOperator(child sqlparser.Expr, operator string) (logical.Formula, error)

func ParseSelect Uses

func ParseSelect(statement *sqlparser.Select) (logical.Node, error)

func ParseTableExpression Uses

func ParseTableExpression(expr sqlparser.TableExpr, mustBeAliased bool) (logical.Node, error)

func ParseTableValuedFunction Uses

func ParseTableValuedFunction(expr *sqlparser.TableValuedFunction) (logical.Node, error)

func ParseTableValuedFunctionArgument Uses

func ParseTableValuedFunctionArgument(expr sqlparser.TableValuedFunctionArgumentValue) (logical.TableValuedFunctionArgumentValue, error)

func ParseUnion Uses

func ParseUnion(statement *sqlparser.Union) (logical.Node, error)

Directories

PathSynopsis
sqlparser
sqlparser/dependency/bytes2
sqlparser/dependency/hackPackage hack gives you some efficient functionality at the cost of breaking some Go rules.
sqlparser/dependency/queryPackage query is a generated protocol buffer package.
sqlparser/dependency/sqltypesPackage sqltypes implements interfaces and types that represent SQL values.

Package parser imports 8 packages (graph) and is imported by 1 packages. Updated 2020-01-27. Refresh now. Tools for package owners.