Class PgCreateCast
java.lang.Object
org.pgcodekeeper.core.database.base.parser.statement.ParserAbstract<PgDatabase>
org.pgcodekeeper.core.database.pg.parser.statement.PgParserAbstract
org.pgcodekeeper.core.database.pg.parser.statement.PgCreateCast
Parser for PostgreSQL CREATE CAST statements.
This class handles parsing of type cast definitions including function-based casts, binary-compatible casts, and I/O conversion casts. It processes the source and target types, cast method, and cast context (implicit, assignment, explicit).
-
Constructor Summary
ConstructorsConstructorDescriptionPgCreateCast(SQLParser.Create_cast_statementContext ctx, PgDatabase db, ISettings settings) Constructs a new CreateCast parser. -
Method Summary
Modifier and TypeMethodDescriptionvoidParses a database object from the current context.Methods inherited from class org.pgcodekeeper.core.database.pg.parser.statement.PgParserAbstract
fillOptionParams, fillOptionParams, getIdentifiers, getIdentifiers, getIdentifiers, getTypeName, parseArguments, parseOperatorSignature, parseSignature, unquoteQuotedStringMethods inherited from class org.pgcodekeeper.core.database.base.parser.statement.ParserAbstract
getFullCtxText, getFullCtxText, getFullCtxText, getSafe, getSafe, parseArgMode, parseObject
-
Constructor Details
-
PgCreateCast
Constructs a new CreateCast parser.- Parameters:
ctx- the CREATE CAST 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>
-