Class TSqlCmdsPostgresql

Object
gudusoft.gsqlparser.sqlcmds.AbstractSqlCmds
gudusoft.gsqlparser.sqlcmds.TSqlCmdsPostgresql
All Implemented Interfaces:
ISqlCmds

public class TSqlCmdsPostgresql extends AbstractSqlCmds
PostgreSQL SQL command resolver. Handles PostgreSQL statement recognition including PL/pgSQL.
Since:
3.1.0.9
  • Constructor Details

  • Method Details

    • initializeCommands

      protected void initializeCommands()
      Description copied from class: AbstractSqlCmds
      Initialize vendor-specific commands. Subclasses must implement this to populate sqlCmdList.
      Specified by:
      initializeCommands in class AbstractSqlCmds
    • issql

      public TCustomSqlStatement issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement)
      Description copied from interface: ISqlCmds
      Identifies the SQL statement type from a token stream. This method is called repeatedly during parsing to identify statement boundaries and types in complex SQL scripts.
      Parameters:
      token - Current token being analyzed
      state - Current parsing state (start, in body, or in exception)
      currentStatement - Current statement being built (may be modified)
      Returns:
      The identified or modified SQL statement