Package edu.caltech.nanodb.sqlparse
Class NanoSQLParser.TblConstraintForeignKeyContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- edu.caltech.nanodb.sqlparse.NanoSQLParser.TableConstraintContext
-
- edu.caltech.nanodb.sqlparse.NanoSQLParser.TblConstraintForeignKeyContext
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTree
,org.antlr.v4.runtime.tree.RuleNode
,org.antlr.v4.runtime.tree.SyntaxTree
,org.antlr.v4.runtime.tree.Tree
- Enclosing class:
- NanoSQLParser
public static class NanoSQLParser.TblConstraintForeignKeyContext extends NanoSQLParser.TableConstraintContext
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<org.antlr.v4.runtime.Token>
columnName
org.antlr.v4.runtime.Token
constraintName
NanoSQLParser.CascadeOptionContext
delOpt
org.antlr.v4.runtime.Token
IDENT
java.util.List<org.antlr.v4.runtime.Token>
refColumnName
org.antlr.v4.runtime.Token
refTableName
NanoSQLParser.CascadeOptionContext
updOpt
-
Constructor Summary
Constructors Constructor Description TblConstraintForeignKeyContext(NanoSQLParser.TableConstraintContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
java.util.List<NanoSQLParser.CascadeOptionContext>
cascadeOption()
NanoSQLParser.CascadeOptionContext
cascadeOption(int i)
org.antlr.v4.runtime.tree.TerminalNode
CONSTRAINT()
org.antlr.v4.runtime.tree.TerminalNode
DELETE()
void
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
void
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
org.antlr.v4.runtime.tree.TerminalNode
FOREIGN()
java.util.List<org.antlr.v4.runtime.tree.TerminalNode>
IDENT()
org.antlr.v4.runtime.tree.TerminalNode
IDENT(int i)
org.antlr.v4.runtime.tree.TerminalNode
KEY()
java.util.List<org.antlr.v4.runtime.tree.TerminalNode>
ON()
org.antlr.v4.runtime.tree.TerminalNode
ON(int i)
org.antlr.v4.runtime.tree.TerminalNode
REFERENCES()
org.antlr.v4.runtime.tree.TerminalNode
UPDATE()
-
Methods inherited from class edu.caltech.nanodb.sqlparse.NanoSQLParser.TableConstraintContext
copyFrom, getRuleIndex
-
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
-
-
-
Field Detail
-
constraintName
public org.antlr.v4.runtime.Token constraintName
-
IDENT
public org.antlr.v4.runtime.Token IDENT
-
columnName
public java.util.List<org.antlr.v4.runtime.Token> columnName
-
refTableName
public org.antlr.v4.runtime.Token refTableName
-
refColumnName
public java.util.List<org.antlr.v4.runtime.Token> refColumnName
-
delOpt
public NanoSQLParser.CascadeOptionContext delOpt
-
updOpt
public NanoSQLParser.CascadeOptionContext updOpt
-
-
Constructor Detail
-
TblConstraintForeignKeyContext
public TblConstraintForeignKeyContext(NanoSQLParser.TableConstraintContext ctx)
-
-
Method Detail
-
FOREIGN
public org.antlr.v4.runtime.tree.TerminalNode FOREIGN()
-
KEY
public org.antlr.v4.runtime.tree.TerminalNode KEY()
-
REFERENCES
public org.antlr.v4.runtime.tree.TerminalNode REFERENCES()
-
IDENT
public java.util.List<org.antlr.v4.runtime.tree.TerminalNode> IDENT()
-
IDENT
public org.antlr.v4.runtime.tree.TerminalNode IDENT(int i)
-
CONSTRAINT
public org.antlr.v4.runtime.tree.TerminalNode CONSTRAINT()
-
ON
public java.util.List<org.antlr.v4.runtime.tree.TerminalNode> ON()
-
ON
public org.antlr.v4.runtime.tree.TerminalNode ON(int i)
-
DELETE
public org.antlr.v4.runtime.tree.TerminalNode DELETE()
-
UPDATE
public org.antlr.v4.runtime.tree.TerminalNode UPDATE()
-
cascadeOption
public java.util.List<NanoSQLParser.CascadeOptionContext> cascadeOption()
-
cascadeOption
public NanoSQLParser.CascadeOptionContext cascadeOption(int i)
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRule
in classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRule
in classorg.antlr.v4.runtime.ParserRuleContext
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
- Specified by:
accept
in interfaceorg.antlr.v4.runtime.tree.ParseTree
- Overrides:
accept
in classorg.antlr.v4.runtime.RuleContext
-
-