Documentation
¶
Index ¶
- Constants
- type BaseMqlListener
- func (s *BaseMqlListener) EnterCellValue(ctx *CellValueContext)
- func (s *BaseMqlListener) EnterColumnFamilyName(ctx *ColumnFamilyNameContext)
- func (s *BaseMqlListener) EnterColumnKey(ctx *ColumnKeyContext)
- func (s *BaseMqlListener) EnterColumnMapEntry(ctx *ColumnMapEntryContext)
- func (s *BaseMqlListener) EnterColumnMapValue(ctx *ColumnMapValueContext)
- func (s *BaseMqlListener) EnterColumnOrSuperColumnKey(ctx *ColumnOrSuperColumnKeyContext)
- func (s *BaseMqlListener) EnterColumnOrSuperColumnName(ctx *ColumnOrSuperColumnNameContext)
- func (s *BaseMqlListener) EnterColumnSpec(ctx *ColumnSpecContext)
- func (s *BaseMqlListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseMqlListener) EnterGetStmt(ctx *GetStmtContext)
- func (s *BaseMqlListener) EnterRowKey(ctx *RowKeyContext)
- func (s *BaseMqlListener) EnterSetStmt(ctx *SetStmtContext)
- func (s *BaseMqlListener) EnterStmt(ctx *StmtContext)
- func (s *BaseMqlListener) EnterStringVal(ctx *StringValContext)
- func (s *BaseMqlListener) EnterSuperColumnKey(ctx *SuperColumnKeyContext)
- func (s *BaseMqlListener) EnterSuperColumnMapEntry(ctx *SuperColumnMapEntryContext)
- func (s *BaseMqlListener) EnterSuperColumnMapValue(ctx *SuperColumnMapValueContext)
- func (s *BaseMqlListener) EnterTableName(ctx *TableNameContext)
- func (s *BaseMqlListener) EnterValueExpr(ctx *ValueExprContext)
- func (s *BaseMqlListener) ExitCellValue(ctx *CellValueContext)
- func (s *BaseMqlListener) ExitColumnFamilyName(ctx *ColumnFamilyNameContext)
- func (s *BaseMqlListener) ExitColumnKey(ctx *ColumnKeyContext)
- func (s *BaseMqlListener) ExitColumnMapEntry(ctx *ColumnMapEntryContext)
- func (s *BaseMqlListener) ExitColumnMapValue(ctx *ColumnMapValueContext)
- func (s *BaseMqlListener) ExitColumnOrSuperColumnKey(ctx *ColumnOrSuperColumnKeyContext)
- func (s *BaseMqlListener) ExitColumnOrSuperColumnName(ctx *ColumnOrSuperColumnNameContext)
- func (s *BaseMqlListener) ExitColumnSpec(ctx *ColumnSpecContext)
- func (s *BaseMqlListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseMqlListener) ExitGetStmt(ctx *GetStmtContext)
- func (s *BaseMqlListener) ExitRowKey(ctx *RowKeyContext)
- func (s *BaseMqlListener) ExitSetStmt(ctx *SetStmtContext)
- func (s *BaseMqlListener) ExitStmt(ctx *StmtContext)
- func (s *BaseMqlListener) ExitStringVal(ctx *StringValContext)
- func (s *BaseMqlListener) ExitSuperColumnKey(ctx *SuperColumnKeyContext)
- func (s *BaseMqlListener) ExitSuperColumnMapEntry(ctx *SuperColumnMapEntryContext)
- func (s *BaseMqlListener) ExitSuperColumnMapValue(ctx *SuperColumnMapValueContext)
- func (s *BaseMqlListener) ExitTableName(ctx *TableNameContext)
- func (s *BaseMqlListener) ExitValueExpr(ctx *ValueExprContext)
- func (s *BaseMqlListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseMqlListener) VisitTerminal(node antlr.TerminalNode)
- type CellValueContext
- func (s *CellValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CellValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CellValueContext) GetParser() antlr.Parser
- func (s *CellValueContext) GetRuleContext() antlr.RuleContext
- func (*CellValueContext) IsCellValueContext()
- func (s *CellValueContext) StringVal() IStringValContext
- func (s *CellValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ColumnFamilyNameContext
- func (s *ColumnFamilyNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ColumnFamilyNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ColumnFamilyNameContext) GetParser() antlr.Parser
- func (s *ColumnFamilyNameContext) GetRuleContext() antlr.RuleContext
- func (s *ColumnFamilyNameContext) Identifier() antlr.TerminalNode
- func (*ColumnFamilyNameContext) IsColumnFamilyNameContext()
- func (s *ColumnFamilyNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ColumnKeyContext
- func (s *ColumnKeyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ColumnKeyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ColumnKeyContext) GetParser() antlr.Parser
- func (s *ColumnKeyContext) GetRuleContext() antlr.RuleContext
- func (*ColumnKeyContext) IsColumnKeyContext()
- func (s *ColumnKeyContext) StringVal() IStringValContext
- func (s *ColumnKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ColumnMapEntryContext
- func (s *ColumnMapEntryContext) ASSOC() antlr.TerminalNode
- func (s *ColumnMapEntryContext) CellValue() ICellValueContext
- func (s *ColumnMapEntryContext) ColumnKey() IColumnKeyContext
- func (s *ColumnMapEntryContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ColumnMapEntryContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ColumnMapEntryContext) GetParser() antlr.Parser
- func (s *ColumnMapEntryContext) GetRuleContext() antlr.RuleContext
- func (*ColumnMapEntryContext) IsColumnMapEntryContext()
- func (s *ColumnMapEntryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ColumnMapValueContext
- func (s *ColumnMapValueContext) AllCOMMA() []antlr.TerminalNode
- func (s *ColumnMapValueContext) AllColumnMapEntry() []IColumnMapEntryContext
- func (s *ColumnMapValueContext) COMMA(i int) antlr.TerminalNode
- func (s *ColumnMapValueContext) ColumnMapEntry(i int) IColumnMapEntryContext
- func (s *ColumnMapValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ColumnMapValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ColumnMapValueContext) GetParser() antlr.Parser
- func (s *ColumnMapValueContext) GetRuleContext() antlr.RuleContext
- func (*ColumnMapValueContext) IsColumnMapValueContext()
- func (s *ColumnMapValueContext) LEFT_BRACE() antlr.TerminalNode
- func (s *ColumnMapValueContext) RIGHT_BRACE() antlr.TerminalNode
- func (s *ColumnMapValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ColumnOrSuperColumnKeyContext
- func (s *ColumnOrSuperColumnKeyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ColumnOrSuperColumnKeyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ColumnOrSuperColumnKeyContext) GetParser() antlr.Parser
- func (s *ColumnOrSuperColumnKeyContext) GetRuleContext() antlr.RuleContext
- func (*ColumnOrSuperColumnKeyContext) IsColumnOrSuperColumnKeyContext()
- func (s *ColumnOrSuperColumnKeyContext) StringVal() IStringValContext
- func (s *ColumnOrSuperColumnKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ColumnOrSuperColumnNameContext
- func (s *ColumnOrSuperColumnNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ColumnOrSuperColumnNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ColumnOrSuperColumnNameContext) GetParser() antlr.Parser
- func (s *ColumnOrSuperColumnNameContext) GetRuleContext() antlr.RuleContext
- func (s *ColumnOrSuperColumnNameContext) Identifier() antlr.TerminalNode
- func (*ColumnOrSuperColumnNameContext) IsColumnOrSuperColumnNameContext()
- func (s *ColumnOrSuperColumnNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ColumnSpecContext
- func (s *ColumnSpecContext) AllColumnOrSuperColumnKey() []IColumnOrSuperColumnKeyContext
- func (s *ColumnSpecContext) ColumnFamilyName() IColumnFamilyNameContext
- func (s *ColumnSpecContext) ColumnOrSuperColumnKey(i int) IColumnOrSuperColumnKeyContext
- func (s *ColumnSpecContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ColumnSpecContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ColumnSpecContext) GetA() []IColumnOrSuperColumnKeyContext
- func (s *ColumnSpecContext) GetParser() antlr.Parser
- func (s *ColumnSpecContext) GetRuleContext() antlr.RuleContext
- func (s *ColumnSpecContext) Get_columnOrSuperColumnKey() IColumnOrSuperColumnKeyContext
- func (*ColumnSpecContext) IsColumnSpecContext()
- func (s *ColumnSpecContext) RowKey() IRowKeyContext
- func (s *ColumnSpecContext) SetA(v []IColumnOrSuperColumnKeyContext)
- func (s *ColumnSpecContext) Set_columnOrSuperColumnKey(v IColumnOrSuperColumnKeyContext)
- func (s *ColumnSpecContext) TableName() ITableNameContext
- func (s *ColumnSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type GetStmtContext
- func (s *GetStmtContext) ColumnSpec() IColumnSpecContext
- func (s *GetStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GetStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GetStmtContext) GET() antlr.TerminalNode
- func (s *GetStmtContext) GetParser() antlr.Parser
- func (s *GetStmtContext) GetRuleContext() antlr.RuleContext
- func (*GetStmtContext) IsGetStmtContext()
- func (s *GetStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ICellValueContext
- type IColumnFamilyNameContext
- type IColumnKeyContext
- type IColumnMapEntryContext
- type IColumnMapValueContext
- type IColumnOrSuperColumnKeyContext
- type IColumnOrSuperColumnNameContext
- type IColumnSpecContext
- type IGetStmtContext
- type IRowKeyContext
- type ISetStmtContext
- type IStmtContext
- type IStringValContext
- type ISuperColumnKeyContext
- type ISuperColumnMapEntryContext
- type ISuperColumnMapValueContext
- type ITableNameContext
- type IValueExprContext
- type MqlLexer
- type MqlListener
- type MqlParser
- func (p *MqlParser) CellValue() (localctx ICellValueContext)
- func (p *MqlParser) ColumnFamilyName() (localctx IColumnFamilyNameContext)
- func (p *MqlParser) ColumnKey() (localctx IColumnKeyContext)
- func (p *MqlParser) ColumnMapEntry() (localctx IColumnMapEntryContext)
- func (p *MqlParser) ColumnMapValue() (localctx IColumnMapValueContext)
- func (p *MqlParser) ColumnOrSuperColumnKey() (localctx IColumnOrSuperColumnKeyContext)
- func (p *MqlParser) ColumnOrSuperColumnName() (localctx IColumnOrSuperColumnNameContext)
- func (p *MqlParser) ColumnSpec() (localctx IColumnSpecContext)
- func (p *MqlParser) GetStmt() (localctx IGetStmtContext)
- func (p *MqlParser) RowKey() (localctx IRowKeyContext)
- func (p *MqlParser) SetStmt() (localctx ISetStmtContext)
- func (p *MqlParser) Stmt() (localctx IStmtContext)
- func (p *MqlParser) StringVal() (localctx IStringValContext)
- func (p *MqlParser) SuperColumnKey() (localctx ISuperColumnKeyContext)
- func (p *MqlParser) SuperColumnMapEntry() (localctx ISuperColumnMapEntryContext)
- func (p *MqlParser) SuperColumnMapValue() (localctx ISuperColumnMapValueContext)
- func (p *MqlParser) TableName() (localctx ITableNameContext)
- func (p *MqlParser) ValueExpr() (localctx IValueExprContext)
- type RowKeyContext
- func (s *RowKeyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RowKeyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RowKeyContext) GetParser() antlr.Parser
- func (s *RowKeyContext) GetRuleContext() antlr.RuleContext
- func (*RowKeyContext) IsRowKeyContext()
- func (s *RowKeyContext) StringVal() IStringValContext
- func (s *RowKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SetStmtContext
- func (s *SetStmtContext) ColumnSpec() IColumnSpecContext
- func (s *SetStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SetStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SetStmtContext) GetParser() antlr.Parser
- func (s *SetStmtContext) GetRuleContext() antlr.RuleContext
- func (*SetStmtContext) IsSetStmtContext()
- func (s *SetStmtContext) SET() antlr.TerminalNode
- func (s *SetStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *SetStmtContext) ValueExpr() IValueExprContext
- type StmtContext
- func (s *StmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtContext) GetParser() antlr.Parser
- func (s *StmtContext) GetRuleContext() antlr.RuleContext
- func (s *StmtContext) GetStmt() IGetStmtContext
- func (*StmtContext) IsStmtContext()
- func (s *StmtContext) SetStmt() ISetStmtContext
- func (s *StmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StringValContext
- func (s *StringValContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StringValContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StringValContext) GetParser() antlr.Parser
- func (s *StringValContext) GetRuleContext() antlr.RuleContext
- func (*StringValContext) IsStringValContext()
- func (s *StringValContext) StringLiteral() antlr.TerminalNode
- func (s *StringValContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SuperColumnKeyContext
- func (s *SuperColumnKeyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SuperColumnKeyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SuperColumnKeyContext) GetParser() antlr.Parser
- func (s *SuperColumnKeyContext) GetRuleContext() antlr.RuleContext
- func (*SuperColumnKeyContext) IsSuperColumnKeyContext()
- func (s *SuperColumnKeyContext) StringVal() IStringValContext
- func (s *SuperColumnKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SuperColumnMapEntryContext
- func (s *SuperColumnMapEntryContext) ASSOC() antlr.TerminalNode
- func (s *SuperColumnMapEntryContext) ColumnMapValue() IColumnMapValueContext
- func (s *SuperColumnMapEntryContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SuperColumnMapEntryContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SuperColumnMapEntryContext) GetParser() antlr.Parser
- func (s *SuperColumnMapEntryContext) GetRuleContext() antlr.RuleContext
- func (*SuperColumnMapEntryContext) IsSuperColumnMapEntryContext()
- func (s *SuperColumnMapEntryContext) SuperColumnKey() ISuperColumnKeyContext
- func (s *SuperColumnMapEntryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SuperColumnMapValueContext
- func (s *SuperColumnMapValueContext) AllCOMMA() []antlr.TerminalNode
- func (s *SuperColumnMapValueContext) AllSuperColumnMapEntry() []ISuperColumnMapEntryContext
- func (s *SuperColumnMapValueContext) COMMA(i int) antlr.TerminalNode
- func (s *SuperColumnMapValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SuperColumnMapValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SuperColumnMapValueContext) GetParser() antlr.Parser
- func (s *SuperColumnMapValueContext) GetRuleContext() antlr.RuleContext
- func (*SuperColumnMapValueContext) IsSuperColumnMapValueContext()
- func (s *SuperColumnMapValueContext) LEFT_BRACE() antlr.TerminalNode
- func (s *SuperColumnMapValueContext) RIGHT_BRACE() antlr.TerminalNode
- func (s *SuperColumnMapValueContext) SuperColumnMapEntry(i int) ISuperColumnMapEntryContext
- func (s *SuperColumnMapValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TableNameContext
- func (s *TableNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TableNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TableNameContext) GetParser() antlr.Parser
- func (s *TableNameContext) GetRuleContext() antlr.RuleContext
- func (s *TableNameContext) Identifier() antlr.TerminalNode
- func (*TableNameContext) IsTableNameContext()
- func (s *TableNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ValueExprContext
- func (s *ValueExprContext) CellValue() ICellValueContext
- func (s *ValueExprContext) ColumnMapValue() IColumnMapValueContext
- func (s *ValueExprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ValueExprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ValueExprContext) GetParser() antlr.Parser
- func (s *ValueExprContext) GetRuleContext() antlr.RuleContext
- func (*ValueExprContext) IsValueExprContext()
- func (s *ValueExprContext) SuperColumnMapValue() ISuperColumnMapValueContext
- func (s *ValueExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( MqlLexerT__0 = 1 MqlLexerT__1 = 2 MqlLexerT__2 = 3 MqlLexerT__3 = 4 MqlLexerT__4 = 5 MqlLexerGET = 6 MqlLexerSET = 7 MqlLexerWHITESPACE = 8 MqlLexerASSOC = 9 MqlLexerCOMMA = 10 MqlLexerLEFT_BRACE = 11 MqlLexerRIGHT_BRACE = 12 MqlLexerSEMICOLON = 13 MqlLexerIdentifier = 14 MqlLexerStringLiteral = 15 MqlLexerIntegerLiteral = 16 )
MqlLexer tokens.
const ( MqlParserEOF = antlr.TokenEOF MqlParserT__0 = 1 MqlParserT__1 = 2 MqlParserT__2 = 3 MqlParserT__3 = 4 MqlParserT__4 = 5 MqlParserGET = 6 MqlParserSET = 7 MqlParserWHITESPACE = 8 MqlParserASSOC = 9 MqlParserCOMMA = 10 MqlParserLEFT_BRACE = 11 MqlParserRIGHT_BRACE = 12 MqlParserSEMICOLON = 13 MqlParserIdentifier = 14 MqlParserStringLiteral = 15 MqlParserIntegerLiteral = 16 )
MqlParser tokens.
const ( MqlParserRULE_stringVal = 0 MqlParserRULE_stmt = 1 MqlParserRULE_getStmt = 2 MqlParserRULE_setStmt = 3 MqlParserRULE_columnSpec = 4 MqlParserRULE_tableName = 5 MqlParserRULE_columnFamilyName = 6 MqlParserRULE_valueExpr = 7 MqlParserRULE_cellValue = 8 MqlParserRULE_columnMapValue = 9 MqlParserRULE_superColumnMapValue = 10 MqlParserRULE_columnMapEntry = 11 MqlParserRULE_superColumnMapEntry = 12 MqlParserRULE_columnOrSuperColumnName = 13 MqlParserRULE_rowKey = 14 MqlParserRULE_columnOrSuperColumnKey = 15 MqlParserRULE_columnKey = 16 MqlParserRULE_superColumnKey = 17 )
MqlParser rules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseMqlListener ¶
type BaseMqlListener struct{}
BaseMqlListener is a complete listener for a parse tree produced by MqlParser.
func (*BaseMqlListener) EnterCellValue ¶
func (s *BaseMqlListener) EnterCellValue(ctx *CellValueContext)
EnterCellValue is called when production cellValue is entered.
func (*BaseMqlListener) EnterColumnFamilyName ¶
func (s *BaseMqlListener) EnterColumnFamilyName(ctx *ColumnFamilyNameContext)
EnterColumnFamilyName is called when production columnFamilyName is entered.
func (*BaseMqlListener) EnterColumnKey ¶
func (s *BaseMqlListener) EnterColumnKey(ctx *ColumnKeyContext)
EnterColumnKey is called when production columnKey is entered.
func (*BaseMqlListener) EnterColumnMapEntry ¶
func (s *BaseMqlListener) EnterColumnMapEntry(ctx *ColumnMapEntryContext)
EnterColumnMapEntry is called when production columnMapEntry is entered.
func (*BaseMqlListener) EnterColumnMapValue ¶
func (s *BaseMqlListener) EnterColumnMapValue(ctx *ColumnMapValueContext)
EnterColumnMapValue is called when production columnMapValue is entered.
func (*BaseMqlListener) EnterColumnOrSuperColumnKey ¶
func (s *BaseMqlListener) EnterColumnOrSuperColumnKey(ctx *ColumnOrSuperColumnKeyContext)
EnterColumnOrSuperColumnKey is called when production columnOrSuperColumnKey is entered.
func (*BaseMqlListener) EnterColumnOrSuperColumnName ¶
func (s *BaseMqlListener) EnterColumnOrSuperColumnName(ctx *ColumnOrSuperColumnNameContext)
EnterColumnOrSuperColumnName is called when production columnOrSuperColumnName is entered.
func (*BaseMqlListener) EnterColumnSpec ¶
func (s *BaseMqlListener) EnterColumnSpec(ctx *ColumnSpecContext)
EnterColumnSpec is called when production columnSpec is entered.
func (*BaseMqlListener) EnterEveryRule ¶
func (s *BaseMqlListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseMqlListener) EnterGetStmt ¶
func (s *BaseMqlListener) EnterGetStmt(ctx *GetStmtContext)
EnterGetStmt is called when production getStmt is entered.
func (*BaseMqlListener) EnterRowKey ¶
func (s *BaseMqlListener) EnterRowKey(ctx *RowKeyContext)
EnterRowKey is called when production rowKey is entered.
func (*BaseMqlListener) EnterSetStmt ¶
func (s *BaseMqlListener) EnterSetStmt(ctx *SetStmtContext)
EnterSetStmt is called when production setStmt is entered.
func (*BaseMqlListener) EnterStmt ¶
func (s *BaseMqlListener) EnterStmt(ctx *StmtContext)
EnterStmt is called when production stmt is entered.
func (*BaseMqlListener) EnterStringVal ¶
func (s *BaseMqlListener) EnterStringVal(ctx *StringValContext)
EnterStringVal is called when production stringVal is entered.
func (*BaseMqlListener) EnterSuperColumnKey ¶
func (s *BaseMqlListener) EnterSuperColumnKey(ctx *SuperColumnKeyContext)
EnterSuperColumnKey is called when production superColumnKey is entered.
func (*BaseMqlListener) EnterSuperColumnMapEntry ¶
func (s *BaseMqlListener) EnterSuperColumnMapEntry(ctx *SuperColumnMapEntryContext)
EnterSuperColumnMapEntry is called when production superColumnMapEntry is entered.
func (*BaseMqlListener) EnterSuperColumnMapValue ¶
func (s *BaseMqlListener) EnterSuperColumnMapValue(ctx *SuperColumnMapValueContext)
EnterSuperColumnMapValue is called when production superColumnMapValue is entered.
func (*BaseMqlListener) EnterTableName ¶
func (s *BaseMqlListener) EnterTableName(ctx *TableNameContext)
EnterTableName is called when production tableName is entered.
func (*BaseMqlListener) EnterValueExpr ¶
func (s *BaseMqlListener) EnterValueExpr(ctx *ValueExprContext)
EnterValueExpr is called when production valueExpr is entered.
func (*BaseMqlListener) ExitCellValue ¶
func (s *BaseMqlListener) ExitCellValue(ctx *CellValueContext)
ExitCellValue is called when production cellValue is exited.
func (*BaseMqlListener) ExitColumnFamilyName ¶
func (s *BaseMqlListener) ExitColumnFamilyName(ctx *ColumnFamilyNameContext)
ExitColumnFamilyName is called when production columnFamilyName is exited.
func (*BaseMqlListener) ExitColumnKey ¶
func (s *BaseMqlListener) ExitColumnKey(ctx *ColumnKeyContext)
ExitColumnKey is called when production columnKey is exited.
func (*BaseMqlListener) ExitColumnMapEntry ¶
func (s *BaseMqlListener) ExitColumnMapEntry(ctx *ColumnMapEntryContext)
ExitColumnMapEntry is called when production columnMapEntry is exited.
func (*BaseMqlListener) ExitColumnMapValue ¶
func (s *BaseMqlListener) ExitColumnMapValue(ctx *ColumnMapValueContext)
ExitColumnMapValue is called when production columnMapValue is exited.
func (*BaseMqlListener) ExitColumnOrSuperColumnKey ¶
func (s *BaseMqlListener) ExitColumnOrSuperColumnKey(ctx *ColumnOrSuperColumnKeyContext)
ExitColumnOrSuperColumnKey is called when production columnOrSuperColumnKey is exited.
func (*BaseMqlListener) ExitColumnOrSuperColumnName ¶
func (s *BaseMqlListener) ExitColumnOrSuperColumnName(ctx *ColumnOrSuperColumnNameContext)
ExitColumnOrSuperColumnName is called when production columnOrSuperColumnName is exited.
func (*BaseMqlListener) ExitColumnSpec ¶
func (s *BaseMqlListener) ExitColumnSpec(ctx *ColumnSpecContext)
ExitColumnSpec is called when production columnSpec is exited.
func (*BaseMqlListener) ExitEveryRule ¶
func (s *BaseMqlListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseMqlListener) ExitGetStmt ¶
func (s *BaseMqlListener) ExitGetStmt(ctx *GetStmtContext)
ExitGetStmt is called when production getStmt is exited.
func (*BaseMqlListener) ExitRowKey ¶
func (s *BaseMqlListener) ExitRowKey(ctx *RowKeyContext)
ExitRowKey is called when production rowKey is exited.
func (*BaseMqlListener) ExitSetStmt ¶
func (s *BaseMqlListener) ExitSetStmt(ctx *SetStmtContext)
ExitSetStmt is called when production setStmt is exited.
func (*BaseMqlListener) ExitStmt ¶
func (s *BaseMqlListener) ExitStmt(ctx *StmtContext)
ExitStmt is called when production stmt is exited.
func (*BaseMqlListener) ExitStringVal ¶
func (s *BaseMqlListener) ExitStringVal(ctx *StringValContext)
ExitStringVal is called when production stringVal is exited.
func (*BaseMqlListener) ExitSuperColumnKey ¶
func (s *BaseMqlListener) ExitSuperColumnKey(ctx *SuperColumnKeyContext)
ExitSuperColumnKey is called when production superColumnKey is exited.
func (*BaseMqlListener) ExitSuperColumnMapEntry ¶
func (s *BaseMqlListener) ExitSuperColumnMapEntry(ctx *SuperColumnMapEntryContext)
ExitSuperColumnMapEntry is called when production superColumnMapEntry is exited.
func (*BaseMqlListener) ExitSuperColumnMapValue ¶
func (s *BaseMqlListener) ExitSuperColumnMapValue(ctx *SuperColumnMapValueContext)
ExitSuperColumnMapValue is called when production superColumnMapValue is exited.
func (*BaseMqlListener) ExitTableName ¶
func (s *BaseMqlListener) ExitTableName(ctx *TableNameContext)
ExitTableName is called when production tableName is exited.
func (*BaseMqlListener) ExitValueExpr ¶
func (s *BaseMqlListener) ExitValueExpr(ctx *ValueExprContext)
ExitValueExpr is called when production valueExpr is exited.
func (*BaseMqlListener) VisitErrorNode ¶
func (s *BaseMqlListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseMqlListener) VisitTerminal ¶
func (s *BaseMqlListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type CellValueContext ¶
type CellValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCellValueContext ¶
func NewCellValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CellValueContext
func NewEmptyCellValueContext ¶
func NewEmptyCellValueContext() *CellValueContext
func (*CellValueContext) EnterRule ¶
func (s *CellValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*CellValueContext) ExitRule ¶
func (s *CellValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*CellValueContext) GetParser ¶
func (s *CellValueContext) GetParser() antlr.Parser
func (*CellValueContext) GetRuleContext ¶
func (s *CellValueContext) GetRuleContext() antlr.RuleContext
func (*CellValueContext) IsCellValueContext ¶
func (*CellValueContext) IsCellValueContext()
func (*CellValueContext) StringVal ¶
func (s *CellValueContext) StringVal() IStringValContext
func (*CellValueContext) ToStringTree ¶
func (s *CellValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ColumnFamilyNameContext ¶
type ColumnFamilyNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewColumnFamilyNameContext ¶
func NewColumnFamilyNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ColumnFamilyNameContext
func NewEmptyColumnFamilyNameContext ¶
func NewEmptyColumnFamilyNameContext() *ColumnFamilyNameContext
func (*ColumnFamilyNameContext) EnterRule ¶
func (s *ColumnFamilyNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*ColumnFamilyNameContext) ExitRule ¶
func (s *ColumnFamilyNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*ColumnFamilyNameContext) GetParser ¶
func (s *ColumnFamilyNameContext) GetParser() antlr.Parser
func (*ColumnFamilyNameContext) GetRuleContext ¶
func (s *ColumnFamilyNameContext) GetRuleContext() antlr.RuleContext
func (*ColumnFamilyNameContext) Identifier ¶
func (s *ColumnFamilyNameContext) Identifier() antlr.TerminalNode
func (*ColumnFamilyNameContext) IsColumnFamilyNameContext ¶
func (*ColumnFamilyNameContext) IsColumnFamilyNameContext()
func (*ColumnFamilyNameContext) ToStringTree ¶
func (s *ColumnFamilyNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ColumnKeyContext ¶
type ColumnKeyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewColumnKeyContext ¶
func NewColumnKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ColumnKeyContext
func NewEmptyColumnKeyContext ¶
func NewEmptyColumnKeyContext() *ColumnKeyContext
func (*ColumnKeyContext) EnterRule ¶
func (s *ColumnKeyContext) EnterRule(listener antlr.ParseTreeListener)
func (*ColumnKeyContext) ExitRule ¶
func (s *ColumnKeyContext) ExitRule(listener antlr.ParseTreeListener)
func (*ColumnKeyContext) GetParser ¶
func (s *ColumnKeyContext) GetParser() antlr.Parser
func (*ColumnKeyContext) GetRuleContext ¶
func (s *ColumnKeyContext) GetRuleContext() antlr.RuleContext
func (*ColumnKeyContext) IsColumnKeyContext ¶
func (*ColumnKeyContext) IsColumnKeyContext()
func (*ColumnKeyContext) StringVal ¶
func (s *ColumnKeyContext) StringVal() IStringValContext
func (*ColumnKeyContext) ToStringTree ¶
func (s *ColumnKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ColumnMapEntryContext ¶
type ColumnMapEntryContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewColumnMapEntryContext ¶
func NewColumnMapEntryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ColumnMapEntryContext
func NewEmptyColumnMapEntryContext ¶
func NewEmptyColumnMapEntryContext() *ColumnMapEntryContext
func (*ColumnMapEntryContext) ASSOC ¶
func (s *ColumnMapEntryContext) ASSOC() antlr.TerminalNode
func (*ColumnMapEntryContext) CellValue ¶
func (s *ColumnMapEntryContext) CellValue() ICellValueContext
func (*ColumnMapEntryContext) ColumnKey ¶
func (s *ColumnMapEntryContext) ColumnKey() IColumnKeyContext
func (*ColumnMapEntryContext) EnterRule ¶
func (s *ColumnMapEntryContext) EnterRule(listener antlr.ParseTreeListener)
func (*ColumnMapEntryContext) ExitRule ¶
func (s *ColumnMapEntryContext) ExitRule(listener antlr.ParseTreeListener)
func (*ColumnMapEntryContext) GetParser ¶
func (s *ColumnMapEntryContext) GetParser() antlr.Parser
func (*ColumnMapEntryContext) GetRuleContext ¶
func (s *ColumnMapEntryContext) GetRuleContext() antlr.RuleContext
func (*ColumnMapEntryContext) IsColumnMapEntryContext ¶
func (*ColumnMapEntryContext) IsColumnMapEntryContext()
func (*ColumnMapEntryContext) ToStringTree ¶
func (s *ColumnMapEntryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ColumnMapValueContext ¶
type ColumnMapValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewColumnMapValueContext ¶
func NewColumnMapValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ColumnMapValueContext
func NewEmptyColumnMapValueContext ¶
func NewEmptyColumnMapValueContext() *ColumnMapValueContext
func (*ColumnMapValueContext) AllCOMMA ¶
func (s *ColumnMapValueContext) AllCOMMA() []antlr.TerminalNode
func (*ColumnMapValueContext) AllColumnMapEntry ¶
func (s *ColumnMapValueContext) AllColumnMapEntry() []IColumnMapEntryContext
func (*ColumnMapValueContext) COMMA ¶
func (s *ColumnMapValueContext) COMMA(i int) antlr.TerminalNode
func (*ColumnMapValueContext) ColumnMapEntry ¶
func (s *ColumnMapValueContext) ColumnMapEntry(i int) IColumnMapEntryContext
func (*ColumnMapValueContext) EnterRule ¶
func (s *ColumnMapValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*ColumnMapValueContext) ExitRule ¶
func (s *ColumnMapValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*ColumnMapValueContext) GetParser ¶
func (s *ColumnMapValueContext) GetParser() antlr.Parser
func (*ColumnMapValueContext) GetRuleContext ¶
func (s *ColumnMapValueContext) GetRuleContext() antlr.RuleContext
func (*ColumnMapValueContext) IsColumnMapValueContext ¶
func (*ColumnMapValueContext) IsColumnMapValueContext()
func (*ColumnMapValueContext) LEFT_BRACE ¶
func (s *ColumnMapValueContext) LEFT_BRACE() antlr.TerminalNode
func (*ColumnMapValueContext) RIGHT_BRACE ¶
func (s *ColumnMapValueContext) RIGHT_BRACE() antlr.TerminalNode
func (*ColumnMapValueContext) ToStringTree ¶
func (s *ColumnMapValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ColumnOrSuperColumnKeyContext ¶
type ColumnOrSuperColumnKeyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewColumnOrSuperColumnKeyContext ¶
func NewColumnOrSuperColumnKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ColumnOrSuperColumnKeyContext
func NewEmptyColumnOrSuperColumnKeyContext ¶
func NewEmptyColumnOrSuperColumnKeyContext() *ColumnOrSuperColumnKeyContext
func (*ColumnOrSuperColumnKeyContext) EnterRule ¶
func (s *ColumnOrSuperColumnKeyContext) EnterRule(listener antlr.ParseTreeListener)
func (*ColumnOrSuperColumnKeyContext) ExitRule ¶
func (s *ColumnOrSuperColumnKeyContext) ExitRule(listener antlr.ParseTreeListener)
func (*ColumnOrSuperColumnKeyContext) GetParser ¶
func (s *ColumnOrSuperColumnKeyContext) GetParser() antlr.Parser
func (*ColumnOrSuperColumnKeyContext) GetRuleContext ¶
func (s *ColumnOrSuperColumnKeyContext) GetRuleContext() antlr.RuleContext
func (*ColumnOrSuperColumnKeyContext) IsColumnOrSuperColumnKeyContext ¶
func (*ColumnOrSuperColumnKeyContext) IsColumnOrSuperColumnKeyContext()
func (*ColumnOrSuperColumnKeyContext) StringVal ¶
func (s *ColumnOrSuperColumnKeyContext) StringVal() IStringValContext
func (*ColumnOrSuperColumnKeyContext) ToStringTree ¶
func (s *ColumnOrSuperColumnKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ColumnOrSuperColumnNameContext ¶
type ColumnOrSuperColumnNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewColumnOrSuperColumnNameContext ¶
func NewColumnOrSuperColumnNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ColumnOrSuperColumnNameContext
func NewEmptyColumnOrSuperColumnNameContext ¶
func NewEmptyColumnOrSuperColumnNameContext() *ColumnOrSuperColumnNameContext
func (*ColumnOrSuperColumnNameContext) EnterRule ¶
func (s *ColumnOrSuperColumnNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*ColumnOrSuperColumnNameContext) ExitRule ¶
func (s *ColumnOrSuperColumnNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*ColumnOrSuperColumnNameContext) GetParser ¶
func (s *ColumnOrSuperColumnNameContext) GetParser() antlr.Parser
func (*ColumnOrSuperColumnNameContext) GetRuleContext ¶
func (s *ColumnOrSuperColumnNameContext) GetRuleContext() antlr.RuleContext
func (*ColumnOrSuperColumnNameContext) Identifier ¶
func (s *ColumnOrSuperColumnNameContext) Identifier() antlr.TerminalNode
func (*ColumnOrSuperColumnNameContext) IsColumnOrSuperColumnNameContext ¶
func (*ColumnOrSuperColumnNameContext) IsColumnOrSuperColumnNameContext()
func (*ColumnOrSuperColumnNameContext) ToStringTree ¶
func (s *ColumnOrSuperColumnNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ColumnSpecContext ¶
type ColumnSpecContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewColumnSpecContext ¶
func NewColumnSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ColumnSpecContext
func NewEmptyColumnSpecContext ¶
func NewEmptyColumnSpecContext() *ColumnSpecContext
func (*ColumnSpecContext) AllColumnOrSuperColumnKey ¶
func (s *ColumnSpecContext) AllColumnOrSuperColumnKey() []IColumnOrSuperColumnKeyContext
func (*ColumnSpecContext) ColumnFamilyName ¶
func (s *ColumnSpecContext) ColumnFamilyName() IColumnFamilyNameContext
func (*ColumnSpecContext) ColumnOrSuperColumnKey ¶
func (s *ColumnSpecContext) ColumnOrSuperColumnKey(i int) IColumnOrSuperColumnKeyContext
func (*ColumnSpecContext) EnterRule ¶
func (s *ColumnSpecContext) EnterRule(listener antlr.ParseTreeListener)
func (*ColumnSpecContext) ExitRule ¶
func (s *ColumnSpecContext) ExitRule(listener antlr.ParseTreeListener)
func (*ColumnSpecContext) GetA ¶
func (s *ColumnSpecContext) GetA() []IColumnOrSuperColumnKeyContext
func (*ColumnSpecContext) GetParser ¶
func (s *ColumnSpecContext) GetParser() antlr.Parser
func (*ColumnSpecContext) GetRuleContext ¶
func (s *ColumnSpecContext) GetRuleContext() antlr.RuleContext
func (*ColumnSpecContext) Get_columnOrSuperColumnKey ¶
func (s *ColumnSpecContext) Get_columnOrSuperColumnKey() IColumnOrSuperColumnKeyContext
func (*ColumnSpecContext) IsColumnSpecContext ¶
func (*ColumnSpecContext) IsColumnSpecContext()
func (*ColumnSpecContext) RowKey ¶
func (s *ColumnSpecContext) RowKey() IRowKeyContext
func (*ColumnSpecContext) SetA ¶
func (s *ColumnSpecContext) SetA(v []IColumnOrSuperColumnKeyContext)
func (*ColumnSpecContext) Set_columnOrSuperColumnKey ¶
func (s *ColumnSpecContext) Set_columnOrSuperColumnKey(v IColumnOrSuperColumnKeyContext)
func (*ColumnSpecContext) TableName ¶
func (s *ColumnSpecContext) TableName() ITableNameContext
func (*ColumnSpecContext) ToStringTree ¶
func (s *ColumnSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type GetStmtContext ¶
type GetStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGetStmtContext ¶
func NewEmptyGetStmtContext() *GetStmtContext
func NewGetStmtContext ¶
func NewGetStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GetStmtContext
func (*GetStmtContext) ColumnSpec ¶
func (s *GetStmtContext) ColumnSpec() IColumnSpecContext
func (*GetStmtContext) EnterRule ¶
func (s *GetStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*GetStmtContext) ExitRule ¶
func (s *GetStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*GetStmtContext) GET ¶
func (s *GetStmtContext) GET() antlr.TerminalNode
func (*GetStmtContext) GetParser ¶
func (s *GetStmtContext) GetParser() antlr.Parser
func (*GetStmtContext) GetRuleContext ¶
func (s *GetStmtContext) GetRuleContext() antlr.RuleContext
func (*GetStmtContext) IsGetStmtContext ¶
func (*GetStmtContext) IsGetStmtContext()
func (*GetStmtContext) ToStringTree ¶
func (s *GetStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ICellValueContext ¶
type ICellValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCellValueContext differentiates from other interfaces. IsCellValueContext() }
ICellValueContext is an interface to support dynamic dispatch.
type IColumnFamilyNameContext ¶
type IColumnFamilyNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsColumnFamilyNameContext differentiates from other interfaces. IsColumnFamilyNameContext() }
IColumnFamilyNameContext is an interface to support dynamic dispatch.
type IColumnKeyContext ¶
type IColumnKeyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsColumnKeyContext differentiates from other interfaces. IsColumnKeyContext() }
IColumnKeyContext is an interface to support dynamic dispatch.
type IColumnMapEntryContext ¶
type IColumnMapEntryContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsColumnMapEntryContext differentiates from other interfaces. IsColumnMapEntryContext() }
IColumnMapEntryContext is an interface to support dynamic dispatch.
type IColumnMapValueContext ¶
type IColumnMapValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsColumnMapValueContext differentiates from other interfaces. IsColumnMapValueContext() }
IColumnMapValueContext is an interface to support dynamic dispatch.
type IColumnOrSuperColumnKeyContext ¶
type IColumnOrSuperColumnKeyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsColumnOrSuperColumnKeyContext differentiates from other interfaces. IsColumnOrSuperColumnKeyContext() }
IColumnOrSuperColumnKeyContext is an interface to support dynamic dispatch.
type IColumnOrSuperColumnNameContext ¶
type IColumnOrSuperColumnNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsColumnOrSuperColumnNameContext differentiates from other interfaces. IsColumnOrSuperColumnNameContext() }
IColumnOrSuperColumnNameContext is an interface to support dynamic dispatch.
type IColumnSpecContext ¶
type IColumnSpecContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_columnOrSuperColumnKey returns the _columnOrSuperColumnKey rule contexts. Get_columnOrSuperColumnKey() IColumnOrSuperColumnKeyContext // Set_columnOrSuperColumnKey sets the _columnOrSuperColumnKey rule contexts. Set_columnOrSuperColumnKey(IColumnOrSuperColumnKeyContext) // GetA returns the a rule context list. GetA() []IColumnOrSuperColumnKeyContext // SetA sets the a rule context list. SetA([]IColumnOrSuperColumnKeyContext) // IsColumnSpecContext differentiates from other interfaces. IsColumnSpecContext() }
IColumnSpecContext is an interface to support dynamic dispatch.
type IGetStmtContext ¶
type IGetStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsGetStmtContext differentiates from other interfaces. IsGetStmtContext() }
IGetStmtContext is an interface to support dynamic dispatch.
type IRowKeyContext ¶
type IRowKeyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsRowKeyContext differentiates from other interfaces. IsRowKeyContext() }
IRowKeyContext is an interface to support dynamic dispatch.
type ISetStmtContext ¶
type ISetStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSetStmtContext differentiates from other interfaces. IsSetStmtContext() }
ISetStmtContext is an interface to support dynamic dispatch.
type IStmtContext ¶
type IStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStmtContext differentiates from other interfaces. IsStmtContext() }
IStmtContext is an interface to support dynamic dispatch.
type IStringValContext ¶
type IStringValContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStringValContext differentiates from other interfaces. IsStringValContext() }
IStringValContext is an interface to support dynamic dispatch.
type ISuperColumnKeyContext ¶
type ISuperColumnKeyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSuperColumnKeyContext differentiates from other interfaces. IsSuperColumnKeyContext() }
ISuperColumnKeyContext is an interface to support dynamic dispatch.
type ISuperColumnMapEntryContext ¶
type ISuperColumnMapEntryContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSuperColumnMapEntryContext differentiates from other interfaces. IsSuperColumnMapEntryContext() }
ISuperColumnMapEntryContext is an interface to support dynamic dispatch.
type ISuperColumnMapValueContext ¶
type ISuperColumnMapValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSuperColumnMapValueContext differentiates from other interfaces. IsSuperColumnMapValueContext() }
ISuperColumnMapValueContext is an interface to support dynamic dispatch.
type ITableNameContext ¶
type ITableNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTableNameContext differentiates from other interfaces. IsTableNameContext() }
ITableNameContext is an interface to support dynamic dispatch.
type IValueExprContext ¶
type IValueExprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsValueExprContext differentiates from other interfaces. IsValueExprContext() }
IValueExprContext is an interface to support dynamic dispatch.
type MqlLexer ¶
func NewMqlLexer ¶
func NewMqlLexer(input antlr.CharStream) *MqlLexer
type MqlListener ¶
type MqlListener interface { antlr.ParseTreeListener // EnterStringVal is called when entering the stringVal production. EnterStringVal(c *StringValContext) // EnterStmt is called when entering the stmt production. EnterStmt(c *StmtContext) // EnterGetStmt is called when entering the getStmt production. EnterGetStmt(c *GetStmtContext) // EnterSetStmt is called when entering the setStmt production. EnterSetStmt(c *SetStmtContext) // EnterColumnSpec is called when entering the columnSpec production. EnterColumnSpec(c *ColumnSpecContext) // EnterTableName is called when entering the tableName production. EnterTableName(c *TableNameContext) // EnterColumnFamilyName is called when entering the columnFamilyName production. EnterColumnFamilyName(c *ColumnFamilyNameContext) // EnterValueExpr is called when entering the valueExpr production. EnterValueExpr(c *ValueExprContext) // EnterCellValue is called when entering the cellValue production. EnterCellValue(c *CellValueContext) // EnterColumnMapValue is called when entering the columnMapValue production. EnterColumnMapValue(c *ColumnMapValueContext) // EnterSuperColumnMapValue is called when entering the superColumnMapValue production. EnterSuperColumnMapValue(c *SuperColumnMapValueContext) // EnterColumnMapEntry is called when entering the columnMapEntry production. EnterColumnMapEntry(c *ColumnMapEntryContext) // EnterSuperColumnMapEntry is called when entering the superColumnMapEntry production. EnterSuperColumnMapEntry(c *SuperColumnMapEntryContext) // EnterColumnOrSuperColumnName is called when entering the columnOrSuperColumnName production. EnterColumnOrSuperColumnName(c *ColumnOrSuperColumnNameContext) // EnterRowKey is called when entering the rowKey production. EnterRowKey(c *RowKeyContext) // EnterColumnOrSuperColumnKey is called when entering the columnOrSuperColumnKey production. EnterColumnOrSuperColumnKey(c *ColumnOrSuperColumnKeyContext) // EnterColumnKey is called when entering the columnKey production. EnterColumnKey(c *ColumnKeyContext) // EnterSuperColumnKey is called when entering the superColumnKey production. EnterSuperColumnKey(c *SuperColumnKeyContext) // ExitStringVal is called when exiting the stringVal production. ExitStringVal(c *StringValContext) // ExitStmt is called when exiting the stmt production. ExitStmt(c *StmtContext) // ExitGetStmt is called when exiting the getStmt production. ExitGetStmt(c *GetStmtContext) // ExitSetStmt is called when exiting the setStmt production. ExitSetStmt(c *SetStmtContext) // ExitColumnSpec is called when exiting the columnSpec production. ExitColumnSpec(c *ColumnSpecContext) // ExitTableName is called when exiting the tableName production. ExitTableName(c *TableNameContext) // ExitColumnFamilyName is called when exiting the columnFamilyName production. ExitColumnFamilyName(c *ColumnFamilyNameContext) // ExitValueExpr is called when exiting the valueExpr production. ExitValueExpr(c *ValueExprContext) // ExitCellValue is called when exiting the cellValue production. ExitCellValue(c *CellValueContext) // ExitColumnMapValue is called when exiting the columnMapValue production. ExitColumnMapValue(c *ColumnMapValueContext) // ExitSuperColumnMapValue is called when exiting the superColumnMapValue production. ExitSuperColumnMapValue(c *SuperColumnMapValueContext) // ExitColumnMapEntry is called when exiting the columnMapEntry production. ExitColumnMapEntry(c *ColumnMapEntryContext) // ExitSuperColumnMapEntry is called when exiting the superColumnMapEntry production. ExitSuperColumnMapEntry(c *SuperColumnMapEntryContext) // ExitColumnOrSuperColumnName is called when exiting the columnOrSuperColumnName production. ExitColumnOrSuperColumnName(c *ColumnOrSuperColumnNameContext) // ExitRowKey is called when exiting the rowKey production. ExitRowKey(c *RowKeyContext) // ExitColumnOrSuperColumnKey is called when exiting the columnOrSuperColumnKey production. ExitColumnOrSuperColumnKey(c *ColumnOrSuperColumnKeyContext) // ExitColumnKey is called when exiting the columnKey production. ExitColumnKey(c *ColumnKeyContext) // ExitSuperColumnKey is called when exiting the superColumnKey production. ExitSuperColumnKey(c *SuperColumnKeyContext) }
MqlListener is a complete listener for a parse tree produced by MqlParser.
type MqlParser ¶
type MqlParser struct {
*antlr.BaseParser
}
func NewMqlParser ¶
func NewMqlParser(input antlr.TokenStream) *MqlParser
func (*MqlParser) CellValue ¶
func (p *MqlParser) CellValue() (localctx ICellValueContext)
func (*MqlParser) ColumnFamilyName ¶
func (p *MqlParser) ColumnFamilyName() (localctx IColumnFamilyNameContext)
func (*MqlParser) ColumnKey ¶
func (p *MqlParser) ColumnKey() (localctx IColumnKeyContext)
func (*MqlParser) ColumnMapEntry ¶
func (p *MqlParser) ColumnMapEntry() (localctx IColumnMapEntryContext)
func (*MqlParser) ColumnMapValue ¶
func (p *MqlParser) ColumnMapValue() (localctx IColumnMapValueContext)
func (*MqlParser) ColumnOrSuperColumnKey ¶
func (p *MqlParser) ColumnOrSuperColumnKey() (localctx IColumnOrSuperColumnKeyContext)
func (*MqlParser) ColumnOrSuperColumnName ¶
func (p *MqlParser) ColumnOrSuperColumnName() (localctx IColumnOrSuperColumnNameContext)
func (*MqlParser) ColumnSpec ¶
func (p *MqlParser) ColumnSpec() (localctx IColumnSpecContext)
func (*MqlParser) GetStmt ¶
func (p *MqlParser) GetStmt() (localctx IGetStmtContext)
func (*MqlParser) RowKey ¶
func (p *MqlParser) RowKey() (localctx IRowKeyContext)
func (*MqlParser) SetStmt ¶
func (p *MqlParser) SetStmt() (localctx ISetStmtContext)
func (*MqlParser) Stmt ¶
func (p *MqlParser) Stmt() (localctx IStmtContext)
func (*MqlParser) StringVal ¶
func (p *MqlParser) StringVal() (localctx IStringValContext)
func (*MqlParser) SuperColumnKey ¶
func (p *MqlParser) SuperColumnKey() (localctx ISuperColumnKeyContext)
func (*MqlParser) SuperColumnMapEntry ¶
func (p *MqlParser) SuperColumnMapEntry() (localctx ISuperColumnMapEntryContext)
func (*MqlParser) SuperColumnMapValue ¶
func (p *MqlParser) SuperColumnMapValue() (localctx ISuperColumnMapValueContext)
func (*MqlParser) TableName ¶
func (p *MqlParser) TableName() (localctx ITableNameContext)
func (*MqlParser) ValueExpr ¶
func (p *MqlParser) ValueExpr() (localctx IValueExprContext)
type RowKeyContext ¶
type RowKeyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRowKeyContext ¶
func NewEmptyRowKeyContext() *RowKeyContext
func NewRowKeyContext ¶
func NewRowKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RowKeyContext
func (*RowKeyContext) EnterRule ¶
func (s *RowKeyContext) EnterRule(listener antlr.ParseTreeListener)
func (*RowKeyContext) ExitRule ¶
func (s *RowKeyContext) ExitRule(listener antlr.ParseTreeListener)
func (*RowKeyContext) GetParser ¶
func (s *RowKeyContext) GetParser() antlr.Parser
func (*RowKeyContext) GetRuleContext ¶
func (s *RowKeyContext) GetRuleContext() antlr.RuleContext
func (*RowKeyContext) IsRowKeyContext ¶
func (*RowKeyContext) IsRowKeyContext()
func (*RowKeyContext) StringVal ¶
func (s *RowKeyContext) StringVal() IStringValContext
func (*RowKeyContext) ToStringTree ¶
func (s *RowKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SetStmtContext ¶
type SetStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySetStmtContext ¶
func NewEmptySetStmtContext() *SetStmtContext
func NewSetStmtContext ¶
func NewSetStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SetStmtContext
func (*SetStmtContext) ColumnSpec ¶
func (s *SetStmtContext) ColumnSpec() IColumnSpecContext
func (*SetStmtContext) EnterRule ¶
func (s *SetStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*SetStmtContext) ExitRule ¶
func (s *SetStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*SetStmtContext) GetParser ¶
func (s *SetStmtContext) GetParser() antlr.Parser
func (*SetStmtContext) GetRuleContext ¶
func (s *SetStmtContext) GetRuleContext() antlr.RuleContext
func (*SetStmtContext) IsSetStmtContext ¶
func (*SetStmtContext) IsSetStmtContext()
func (*SetStmtContext) SET ¶
func (s *SetStmtContext) SET() antlr.TerminalNode
func (*SetStmtContext) ToStringTree ¶
func (s *SetStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*SetStmtContext) ValueExpr ¶
func (s *SetStmtContext) ValueExpr() IValueExprContext
type StmtContext ¶
type StmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmtContext ¶
func NewEmptyStmtContext() *StmtContext
func NewStmtContext ¶
func NewStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtContext
func (*StmtContext) EnterRule ¶
func (s *StmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtContext) ExitRule ¶
func (s *StmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtContext) GetParser ¶
func (s *StmtContext) GetParser() antlr.Parser
func (*StmtContext) GetRuleContext ¶
func (s *StmtContext) GetRuleContext() antlr.RuleContext
func (*StmtContext) GetStmt ¶
func (s *StmtContext) GetStmt() IGetStmtContext
func (*StmtContext) IsStmtContext ¶
func (*StmtContext) IsStmtContext()
func (*StmtContext) SetStmt ¶
func (s *StmtContext) SetStmt() ISetStmtContext
func (*StmtContext) ToStringTree ¶
func (s *StmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StringValContext ¶
type StringValContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStringValContext ¶
func NewEmptyStringValContext() *StringValContext
func NewStringValContext ¶
func NewStringValContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringValContext
func (*StringValContext) EnterRule ¶
func (s *StringValContext) EnterRule(listener antlr.ParseTreeListener)
func (*StringValContext) ExitRule ¶
func (s *StringValContext) ExitRule(listener antlr.ParseTreeListener)
func (*StringValContext) GetParser ¶
func (s *StringValContext) GetParser() antlr.Parser
func (*StringValContext) GetRuleContext ¶
func (s *StringValContext) GetRuleContext() antlr.RuleContext
func (*StringValContext) IsStringValContext ¶
func (*StringValContext) IsStringValContext()
func (*StringValContext) StringLiteral ¶
func (s *StringValContext) StringLiteral() antlr.TerminalNode
func (*StringValContext) ToStringTree ¶
func (s *StringValContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SuperColumnKeyContext ¶
type SuperColumnKeyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySuperColumnKeyContext ¶
func NewEmptySuperColumnKeyContext() *SuperColumnKeyContext
func NewSuperColumnKeyContext ¶
func NewSuperColumnKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SuperColumnKeyContext
func (*SuperColumnKeyContext) EnterRule ¶
func (s *SuperColumnKeyContext) EnterRule(listener antlr.ParseTreeListener)
func (*SuperColumnKeyContext) ExitRule ¶
func (s *SuperColumnKeyContext) ExitRule(listener antlr.ParseTreeListener)
func (*SuperColumnKeyContext) GetParser ¶
func (s *SuperColumnKeyContext) GetParser() antlr.Parser
func (*SuperColumnKeyContext) GetRuleContext ¶
func (s *SuperColumnKeyContext) GetRuleContext() antlr.RuleContext
func (*SuperColumnKeyContext) IsSuperColumnKeyContext ¶
func (*SuperColumnKeyContext) IsSuperColumnKeyContext()
func (*SuperColumnKeyContext) StringVal ¶
func (s *SuperColumnKeyContext) StringVal() IStringValContext
func (*SuperColumnKeyContext) ToStringTree ¶
func (s *SuperColumnKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SuperColumnMapEntryContext ¶
type SuperColumnMapEntryContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySuperColumnMapEntryContext ¶
func NewEmptySuperColumnMapEntryContext() *SuperColumnMapEntryContext
func NewSuperColumnMapEntryContext ¶
func NewSuperColumnMapEntryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SuperColumnMapEntryContext
func (*SuperColumnMapEntryContext) ASSOC ¶
func (s *SuperColumnMapEntryContext) ASSOC() antlr.TerminalNode
func (*SuperColumnMapEntryContext) ColumnMapValue ¶
func (s *SuperColumnMapEntryContext) ColumnMapValue() IColumnMapValueContext
func (*SuperColumnMapEntryContext) EnterRule ¶
func (s *SuperColumnMapEntryContext) EnterRule(listener antlr.ParseTreeListener)
func (*SuperColumnMapEntryContext) ExitRule ¶
func (s *SuperColumnMapEntryContext) ExitRule(listener antlr.ParseTreeListener)
func (*SuperColumnMapEntryContext) GetParser ¶
func (s *SuperColumnMapEntryContext) GetParser() antlr.Parser
func (*SuperColumnMapEntryContext) GetRuleContext ¶
func (s *SuperColumnMapEntryContext) GetRuleContext() antlr.RuleContext
func (*SuperColumnMapEntryContext) IsSuperColumnMapEntryContext ¶
func (*SuperColumnMapEntryContext) IsSuperColumnMapEntryContext()
func (*SuperColumnMapEntryContext) SuperColumnKey ¶
func (s *SuperColumnMapEntryContext) SuperColumnKey() ISuperColumnKeyContext
func (*SuperColumnMapEntryContext) ToStringTree ¶
func (s *SuperColumnMapEntryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SuperColumnMapValueContext ¶
type SuperColumnMapValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySuperColumnMapValueContext ¶
func NewEmptySuperColumnMapValueContext() *SuperColumnMapValueContext
func NewSuperColumnMapValueContext ¶
func NewSuperColumnMapValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SuperColumnMapValueContext
func (*SuperColumnMapValueContext) AllCOMMA ¶
func (s *SuperColumnMapValueContext) AllCOMMA() []antlr.TerminalNode
func (*SuperColumnMapValueContext) AllSuperColumnMapEntry ¶
func (s *SuperColumnMapValueContext) AllSuperColumnMapEntry() []ISuperColumnMapEntryContext
func (*SuperColumnMapValueContext) COMMA ¶
func (s *SuperColumnMapValueContext) COMMA(i int) antlr.TerminalNode
func (*SuperColumnMapValueContext) EnterRule ¶
func (s *SuperColumnMapValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*SuperColumnMapValueContext) ExitRule ¶
func (s *SuperColumnMapValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*SuperColumnMapValueContext) GetParser ¶
func (s *SuperColumnMapValueContext) GetParser() antlr.Parser
func (*SuperColumnMapValueContext) GetRuleContext ¶
func (s *SuperColumnMapValueContext) GetRuleContext() antlr.RuleContext
func (*SuperColumnMapValueContext) IsSuperColumnMapValueContext ¶
func (*SuperColumnMapValueContext) IsSuperColumnMapValueContext()
func (*SuperColumnMapValueContext) LEFT_BRACE ¶
func (s *SuperColumnMapValueContext) LEFT_BRACE() antlr.TerminalNode
func (*SuperColumnMapValueContext) RIGHT_BRACE ¶
func (s *SuperColumnMapValueContext) RIGHT_BRACE() antlr.TerminalNode
func (*SuperColumnMapValueContext) SuperColumnMapEntry ¶
func (s *SuperColumnMapValueContext) SuperColumnMapEntry(i int) ISuperColumnMapEntryContext
func (*SuperColumnMapValueContext) ToStringTree ¶
func (s *SuperColumnMapValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TableNameContext ¶
type TableNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTableNameContext ¶
func NewEmptyTableNameContext() *TableNameContext
func NewTableNameContext ¶
func NewTableNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TableNameContext
func (*TableNameContext) EnterRule ¶
func (s *TableNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*TableNameContext) ExitRule ¶
func (s *TableNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*TableNameContext) GetParser ¶
func (s *TableNameContext) GetParser() antlr.Parser
func (*TableNameContext) GetRuleContext ¶
func (s *TableNameContext) GetRuleContext() antlr.RuleContext
func (*TableNameContext) Identifier ¶
func (s *TableNameContext) Identifier() antlr.TerminalNode
func (*TableNameContext) IsTableNameContext ¶
func (*TableNameContext) IsTableNameContext()
func (*TableNameContext) ToStringTree ¶
func (s *TableNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ValueExprContext ¶
type ValueExprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyValueExprContext ¶
func NewEmptyValueExprContext() *ValueExprContext
func NewValueExprContext ¶
func NewValueExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueExprContext
func (*ValueExprContext) CellValue ¶
func (s *ValueExprContext) CellValue() ICellValueContext
func (*ValueExprContext) ColumnMapValue ¶
func (s *ValueExprContext) ColumnMapValue() IColumnMapValueContext
func (*ValueExprContext) EnterRule ¶
func (s *ValueExprContext) EnterRule(listener antlr.ParseTreeListener)
func (*ValueExprContext) ExitRule ¶
func (s *ValueExprContext) ExitRule(listener antlr.ParseTreeListener)
func (*ValueExprContext) GetParser ¶
func (s *ValueExprContext) GetParser() antlr.Parser
func (*ValueExprContext) GetRuleContext ¶
func (s *ValueExprContext) GetRuleContext() antlr.RuleContext
func (*ValueExprContext) IsValueExprContext ¶
func (*ValueExprContext) IsValueExprContext()
func (*ValueExprContext) SuperColumnMapValue ¶
func (s *ValueExprContext) SuperColumnMapValue() ISuperColumnMapValueContext
func (*ValueExprContext) ToStringTree ¶
func (s *ValueExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string