Class InfluxLineProtocolBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.apache.iotdb.db.protocol.influxdb.input.InfluxLineProtocolBaseVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,InfluxLineProtocolVisitor<T>
public class InfluxLineProtocolBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements InfluxLineProtocolVisitor<T>
This class provides an empty implementation ofInfluxLineProtocolVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description InfluxLineProtocolBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitLines
public T visitLines(InfluxLineProtocolParser.LinesContext ctx)
Visit a parse tree produced byInfluxLineProtocolParser.lines().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLinesin interfaceInfluxLineProtocolVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLine
public T visitLine(InfluxLineProtocolParser.LineContext ctx)
Visit a parse tree produced byInfluxLineProtocolParser.line().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLinein interfaceInfluxLineProtocolVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimestamp
public T visitTimestamp(InfluxLineProtocolParser.TimestampContext ctx)
Visit a parse tree produced byInfluxLineProtocolParser.timestamp().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTimestampin interfaceInfluxLineProtocolVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField_set
public T visitField_set(InfluxLineProtocolParser.Field_setContext ctx)
Visit a parse tree produced byInfluxLineProtocolParser.field_set().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField_setin interfaceInfluxLineProtocolVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTag_set
public T visitTag_set(InfluxLineProtocolParser.Tag_setContext ctx)
Visit a parse tree produced byInfluxLineProtocolParser.tag_set().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTag_setin interfaceInfluxLineProtocolVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTag_pair
public T visitTag_pair(InfluxLineProtocolParser.Tag_pairContext ctx)
Visit a parse tree produced byInfluxLineProtocolParser.tag_pair().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTag_pairin interfaceInfluxLineProtocolVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField_pair
public T visitField_pair(InfluxLineProtocolParser.Field_pairContext ctx)
Visit a parse tree produced byInfluxLineProtocolParser.field_pair().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField_pairin interfaceInfluxLineProtocolVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
public T visitIdentifier(InfluxLineProtocolParser.IdentifierContext ctx)
Visit a parse tree produced byInfluxLineProtocolParser.identifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierin interfaceInfluxLineProtocolVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField_value
public T visitField_value(InfluxLineProtocolParser.Field_valueContext ctx)
Visit a parse tree produced byInfluxLineProtocolParser.field_value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField_valuein interfaceInfluxLineProtocolVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEol
public T visitEol(InfluxLineProtocolParser.EolContext ctx)
Visit a parse tree produced byInfluxLineProtocolParser.eol().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEolin interfaceInfluxLineProtocolVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-