Documentation
¶
Index ¶
- func Diagnose(_ context.Context, _ base.DiagnoseContext, statement string) ([]base.Diagnostic, error)
- func GetQuerySpan(ctx context.Context, gCtx base.GetQuerySpanContext, ...) (*base.QuerySpan, error)
- func ParseBigQuerySQL(statement string) ([]*base.ParseResult, error)
- func SplitSQL(statement string) ([]base.SingleSQL, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diagnose ¶
func Diagnose(_ context.Context, _ base.DiagnoseContext, statement string) ([]base.Diagnostic, error)
func GetQuerySpan ¶
func GetQuerySpan( ctx context.Context, gCtx base.GetQuerySpanContext, statement, database, _ string, ignoreCaseSensitive bool, ) (*base.QuerySpan, error)
GetQuerySpan returns the query span for the given statement.
func ParseBigQuerySQL ¶
func ParseBigQuerySQL(statement string) ([]*base.ParseResult, error)
ParseBigQuerySQL parses the given SQL statement by using antlr4. Returns a list of AST and token stream if no error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.