Class CreateOperator
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.base.statement.ParserAbstract<PgDatabase>
org.pgcodekeeper.core.parsers.antlr.pg.statement.PgParserAbstract
org.pgcodekeeper.core.parsers.antlr.pg.statement.CreateOperator
Parser for PostgreSQL CREATE OPERATOR statements.
This class handles parsing of operator definitions including left and right argument types, operator function, commutator and negator operators, and various operator properties like MERGES, HASHES, RESTRICT, and JOIN.
-
Constructor Summary
ConstructorsConstructorDescriptionCreateOperator(SQLParser.Create_operator_statementContext ctx, PgDatabase db, ISettings settings) Constructs a new CreateOperator parser. -
Method Summary
Modifier and TypeMethodDescriptionvoidParses a database object from the current context.Methods inherited from class org.pgcodekeeper.core.parsers.antlr.pg.statement.PgParserAbstract
getIdentifiers, getIdentifiers, getIdentifiers, getTypeName, parseArguments, parseOperatorSignature, parseSignature, unquoteQuotedStringMethods inherited from class org.pgcodekeeper.core.parsers.antlr.base.statement.ParserAbstract
fillOptionParams, fillOptionParams, getFullCtxText, getFullCtxText, getFullCtxText, getSafe, getSafe, parseArgMode, parseObject
-
Constructor Details
-
CreateOperator
public CreateOperator(SQLParser.Create_operator_statementContext ctx, PgDatabase db, ISettings settings) Constructs a new CreateOperator parser.- Parameters:
ctx- the CREATE OPERATOR statement contextdb- the PostgreSQL database objectsettings- the ISettings object
-
-
Method Details
-
parseObject
public void parseObject()Description copied from class:ParserAbstractParses a database object from the current context. Must be implemented by concrete subclasses to handle specific object types.- Specified by:
parseObjectin classParserAbstract<PgDatabase>
-