Class PgAbstractStatements<T extends org.antlr.v4.runtime.ParserRuleContext>
java.lang.Object
org.pgcodekeeper.core.database.base.parser.antlr.AbstractExpr
org.pgcodekeeper.core.database.pg.parser.expr.PgAbstractExpr
org.pgcodekeeper.core.database.pg.parser.expr.PgAbstractExprWithNmspc<T>
org.pgcodekeeper.core.database.pg.parser.expr.PgAbstractStatements<T>
- Type Parameters:
T- the type of parser rule context this statement processor handles
- Direct Known Subclasses:
PgSql,PgSqlFunctionBody
public abstract class PgAbstractStatements<T extends org.antlr.v4.runtime.ParserRuleContext>
extends PgAbstractExprWithNmspc<T>
Abstract base class for statement parsers with namespace support.
Handles common data statement parsing functionality.
-
Method Summary
Methods inherited from class org.pgcodekeeper.core.database.pg.parser.expr.PgAbstractExprWithNmspc
addNamespaceVariable, addRawTableReference, addReference, declareNamespaceVar, findReferenceMethods inherited from class org.pgcodekeeper.core.database.pg.parser.expr.PgAbstractExpr
setFullAnalyzeMethods inherited from class org.pgcodekeeper.core.database.base.parser.antlr.AbstractExpr
addDependency, addDependency, addDependency, addReference, addVariable, getDependencies
-
Method Details
-
analyze
Description copied from class:PgAbstractExprWithNmspcAnalyzes the given rule context.- Specified by:
analyzein classPgAbstractExprWithNmspc<T extends org.antlr.v4.runtime.ParserRuleContext>- Parameters:
ctx- the parser rule context to analyze- Returns:
- list of modifiable pairs containing analyzed results
-
data
Analyzes and processes a data statement.- Parameters:
data- the data statement context to analyze- Returns:
- list of modified pairs containing analyzed results
-