Documentation ¶
Index ¶
- Variables
- func ParseAggregate(expr sqlparser.Expr) (string, logical.Expression, error)
- func ParseAliasedExpression(expr *sqlparser.AliasedExpr) (logical.Expression, string, error)
- func ParseAliasedTableExpression(expr *sqlparser.AliasedTableExpr) (logical.Node, error)
- func ParseExpression(expr sqlparser.Expr) (logical.Expression, error)
- func ParseFunctionArgument(expr *sqlparser.AliasedExpr) (logical.Expression, error)
- func ParseInfixComparison(left, right sqlparser.Expr, operator string) (logical.Expression, error)
- func ParseInfixOperator(left, right sqlparser.Expr, operator string) (logical.Expression, error)
- func ParseJoinTableExpression(expr *sqlparser.JoinTableExpr) (logical.Node, error)
- func ParsePrefixOperator(child sqlparser.Expr, operator string) (logical.Expression, error)
- func ParseTableExpression(expr sqlparser.TableExpr) (logical.Node, error)
- func ParseTableValuedFunction(expr *sqlparser.TableValuedFunction) (logical.Node, error)
- func ParseTableValuedFunctionArgument(expr sqlparser.TableValuedFunctionArgumentValue) (logical.TableValuedFunctionArgumentValue, error)
- func ParseTrigger(trigger sqlparser.Trigger) (logical.Trigger, error)
- func ParseType(t sqlparser.ConvertType) (octosql.TypeID, error)
- type OutputOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotAggregate = errors.New("expression is not aggregate")
Functions ¶
func ParseAggregate ¶
func ParseAliasedExpression ¶
func ParseAliasedExpression(expr *sqlparser.AliasedExpr) (logical.Expression, string, error)
func ParseAliasedTableExpression ¶
func ParseAliasedTableExpression(expr *sqlparser.AliasedTableExpr) (logical.Node, error)
func ParseExpression ¶
func ParseExpression(expr sqlparser.Expr) (logical.Expression, error)
func ParseFunctionArgument ¶
func ParseFunctionArgument(expr *sqlparser.AliasedExpr) (logical.Expression, error)
func ParseInfixComparison ¶
func ParseInfixOperator ¶
func ParseJoinTableExpression ¶
func ParseJoinTableExpression(expr *sqlparser.JoinTableExpr) (logical.Node, error)
func ParsePrefixOperator ¶
func ParseTableExpression ¶
func ParseTableValuedFunction ¶ added in v0.2.0
func ParseTableValuedFunction(expr *sqlparser.TableValuedFunction) (logical.Node, error)
func ParseTableValuedFunctionArgument ¶ added in v0.2.0
func ParseTableValuedFunctionArgument(expr sqlparser.TableValuedFunctionArgumentValue) (logical.TableValuedFunctionArgumentValue, error)
func ParseTrigger ¶ added in v0.3.0
Types ¶
type OutputOptions ¶ added in v0.4.0
type OutputOptions struct { Limit int OrderByExpressions []logical.Expression OrderByDirections []logical.OrderDirection }
func ParseNode ¶
func ParseNode(statement sqlparser.SelectStatement, topmost bool) (logical.Node, *OutputOptions, error)
func ParseSelect ¶
Directories ¶
Path | Synopsis |
---|---|
dependency/hack
Package hack gives you some efficient functionality at the cost of breaking some Go rules.
|
Package hack gives you some efficient functionality at the cost of breaking some Go rules. |
dependency/query
Package query is a generated protocol buffer package.
|
Package query is a generated protocol buffer package. |
dependency/sqltypes
Package sqltypes implements interfaces and types that represent SQL values.
|
Package sqltypes implements interfaces and types that represent SQL values. |
Click to show internal directories.
Click to hide internal directories.