Class HDBTableCoreVisitor
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.codbex.kronos.parser.hdbtable.core.HdbtableBaseVisitor<com.google.gson.JsonElement>
com.codbex.kronos.parser.hdbtable.custom.HDBTableCoreVisitor
- All Implemented Interfaces:
HdbtableVisitor<com.google.gson.JsonElement>,org.antlr.v4.runtime.tree.ParseTreeVisitor<com.google.gson.JsonElement>
The Class HDBTableCoreVisitor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElementVisit column assign comment.com.google.gson.JsonElementVisit column assign default value.com.google.gson.JsonElementVisit column assign length.com.google.gson.JsonElementVisit column assign name.com.google.gson.JsonElementVisit column assign nullable.com.google.gson.JsonElementVisit column assign precision.com.google.gson.JsonElementVisit column assign scale.com.google.gson.JsonElementVisit column assign SQL type.com.google.gson.JsonElementVisit column assign unique.com.google.gson.JsonElementVisit columns object.com.google.gson.JsonElementVisit description prop.com.google.gson.JsonElementVisit hdbtable definition.com.google.gson.JsonElementVisit index assign index columns.com.google.gson.JsonElementVisit index assign index type.com.google.gson.JsonElementVisit index assign name.com.google.gson.JsonElementVisit index assign order.com.google.gson.JsonElementVisit index assign unique.com.google.gson.JsonElementVisit index columns array.com.google.gson.JsonElementVisit indexes object.com.google.gson.JsonElementVisit logging type prop.com.google.gson.JsonElementVisit public prop.com.google.gson.JsonElementVisit schema name prop.com.google.gson.JsonElementVisit table columns prop.com.google.gson.JsonElementVisit table indexes prop.com.google.gson.JsonElementVisit table primary key columns prop.com.google.gson.JsonElementVisit table primary key index type prop.com.google.gson.JsonElementVisit table primary key prop.com.google.gson.JsonElementVisit table type prop.com.google.gson.JsonElementVisit temporary prop.Methods inherited from class com.codbex.kronos.parser.hdbtable.core.HdbtableBaseVisitor
visitColumnsProperties, visitHdbtableProperties, visitIndexPropertiesMethods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
HDBTableCoreVisitor
public HDBTableCoreVisitor()
-
-
Method Details
-
visitHdbtableDefinition
public com.google.gson.JsonElement visitHdbtableDefinition(HdbtableParser.HdbtableDefinitionContext ctx) Visit hdbtable definition.- Specified by:
visitHdbtableDefinitionin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitHdbtableDefinitionin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitTableColumnsProp
public com.google.gson.JsonElement visitTableColumnsProp(HdbtableParser.TableColumnsPropContext ctx) Visit table columns prop.- Specified by:
visitTableColumnsPropin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitTableColumnsPropin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitIndexesObject
Visit indexes object.- Specified by:
visitIndexesObjectin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitIndexesObjectin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitColumnAssignUnique
public com.google.gson.JsonElement visitColumnAssignUnique(HdbtableParser.ColumnAssignUniqueContext ctx) Visit column assign unique.- Specified by:
visitColumnAssignUniquein interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitColumnAssignUniquein classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitTableIndexesProp
public com.google.gson.JsonElement visitTableIndexesProp(HdbtableParser.TableIndexesPropContext ctx) Visit table indexes prop.- Specified by:
visitTableIndexesPropin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitTableIndexesPropin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitColumnAssignDefaultValue
public com.google.gson.JsonElement visitColumnAssignDefaultValue(HdbtableParser.ColumnAssignDefaultValueContext ctx) Visit column assign default value.- Specified by:
visitColumnAssignDefaultValuein interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitColumnAssignDefaultValuein classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitColumnAssignName
public com.google.gson.JsonElement visitColumnAssignName(HdbtableParser.ColumnAssignNameContext ctx) Visit column assign name.- Specified by:
visitColumnAssignNamein interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitColumnAssignNamein classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitIndexAssignIndexColumns
public com.google.gson.JsonElement visitIndexAssignIndexColumns(HdbtableParser.IndexAssignIndexColumnsContext ctx) Visit index assign index columns.- Specified by:
visitIndexAssignIndexColumnsin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitIndexAssignIndexColumnsin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitColumnsObject
Visit columns object.- Specified by:
visitColumnsObjectin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitColumnsObjectin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitTableTypeProp
Visit table type prop.- Specified by:
visitTableTypePropin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitTableTypePropin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitColumnAssignLength
public com.google.gson.JsonElement visitColumnAssignLength(HdbtableParser.ColumnAssignLengthContext ctx) Visit column assign length.- Specified by:
visitColumnAssignLengthin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitColumnAssignLengthin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitIndexColumnsArray
public com.google.gson.JsonElement visitIndexColumnsArray(HdbtableParser.IndexColumnsArrayContext ctx) Visit index columns array.- Specified by:
visitIndexColumnsArrayin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitIndexColumnsArrayin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitColumnAssignScale
public com.google.gson.JsonElement visitColumnAssignScale(HdbtableParser.ColumnAssignScaleContext ctx) Visit column assign scale.- Specified by:
visitColumnAssignScalein interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitColumnAssignScalein classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitTablePrimaryKeyIndexTypeProp
public com.google.gson.JsonElement visitTablePrimaryKeyIndexTypeProp(HdbtableParser.TablePrimaryKeyIndexTypePropContext ctx) Visit table primary key index type prop.- Specified by:
visitTablePrimaryKeyIndexTypePropin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitTablePrimaryKeyIndexTypePropin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitColumnAssignSQLType
public com.google.gson.JsonElement visitColumnAssignSQLType(HdbtableParser.ColumnAssignSQLTypeContext ctx) Visit column assign SQL type.- Specified by:
visitColumnAssignSQLTypein interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitColumnAssignSQLTypein classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitIndexAssignIndexType
public com.google.gson.JsonElement visitIndexAssignIndexType(HdbtableParser.IndexAssignIndexTypeContext ctx) Visit index assign index type.- Specified by:
visitIndexAssignIndexTypein interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitIndexAssignIndexTypein classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitIndexAssignUnique
public com.google.gson.JsonElement visitIndexAssignUnique(HdbtableParser.IndexAssignUniqueContext ctx) Visit index assign unique.- Specified by:
visitIndexAssignUniquein interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitIndexAssignUniquein classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitLoggingTypeProp
Visit logging type prop.- Specified by:
visitLoggingTypePropin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitLoggingTypePropin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitColumnAssignNullable
public com.google.gson.JsonElement visitColumnAssignNullable(HdbtableParser.ColumnAssignNullableContext ctx) Visit column assign nullable.- Specified by:
visitColumnAssignNullablein interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitColumnAssignNullablein classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitTemporaryProp
Visit temporary prop.- Specified by:
visitTemporaryPropin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitTemporaryPropin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitPublicProp
Visit public prop.- Specified by:
visitPublicPropin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitPublicPropin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitIndexAssignOrder
public com.google.gson.JsonElement visitIndexAssignOrder(HdbtableParser.IndexAssignOrderContext ctx) Visit index assign order.- Specified by:
visitIndexAssignOrderin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitIndexAssignOrderin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitTablePrimaryKeyProp
public com.google.gson.JsonElement visitTablePrimaryKeyProp(HdbtableParser.TablePrimaryKeyPropContext ctx) Visit table primary key prop.- Specified by:
visitTablePrimaryKeyPropin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitTablePrimaryKeyPropin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitColumnAssignPrecision
public com.google.gson.JsonElement visitColumnAssignPrecision(HdbtableParser.ColumnAssignPrecisionContext ctx) Visit column assign precision.- Specified by:
visitColumnAssignPrecisionin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitColumnAssignPrecisionin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitSchemaNameProp
Visit schema name prop.- Specified by:
visitSchemaNamePropin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitSchemaNamePropin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitTablePrimaryKeyColumnsProp
public com.google.gson.JsonElement visitTablePrimaryKeyColumnsProp(HdbtableParser.TablePrimaryKeyColumnsPropContext ctx) Visit table primary key columns prop.- Specified by:
visitTablePrimaryKeyColumnsPropin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitTablePrimaryKeyColumnsPropin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitColumnAssignComment
public com.google.gson.JsonElement visitColumnAssignComment(HdbtableParser.ColumnAssignCommentContext ctx) Visit column assign comment.- Specified by:
visitColumnAssignCommentin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitColumnAssignCommentin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitDescriptionProp
Visit description prop.- Specified by:
visitDescriptionPropin interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitDescriptionPropin classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-
visitIndexAssignName
Visit index assign name.- Specified by:
visitIndexAssignNamein interfaceHdbtableVisitor<com.google.gson.JsonElement>- Overrides:
visitIndexAssignNamein classHdbtableBaseVisitor<com.google.gson.JsonElement>- Parameters:
ctx- the ctx- Returns:
- the json element
-