Documentation
¶
Index ¶
- func ExecuteCreateStatement(stmt ast.Statement, sp *store.Provider) (string, error)
- func ExecuteDropStatement(stmt ast.Statement, sp *store.Provider) (string, error)
- func GetDescribeStatementLogsQL(stmt *ast.DescribeStatement, sp *store.Provider) (string, error)
- func TranslateSelectStatementToLogsQL(stmt ast.Statement, sp *store.Provider) (string, error)
- type StatementInfo
- type StatementType
- type TranslationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCreateStatement ¶
func ExecuteDropStatement ¶
Types ¶
type StatementInfo ¶
type StatementInfo struct {
Kind StatementType
LogsQL string
Data string
}
func GetStatementInfo ¶
type StatementType ¶
type StatementType string
const ( StatementTypeSelect StatementType = "select" StatementTypeDescribe StatementType = "describe" StatementTypeCreateView StatementType = "create_view" StatementTypeDropView StatementType = "drop_view" StatementTypeShowTables StatementType = "show_tables" StatementTypeShowViews StatementType = "show_views" )
type TranslationError ¶
func (*TranslationError) Error ¶
func (e *TranslationError) Error() string
func (*TranslationError) Unwrap ¶
func (e *TranslationError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.