Class TSqlCmdsTrino

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

public class TSqlCmdsTrino extends AbstractSqlCmds
Trino SQL command resolver (stub implementation). TODO: Extract vendor-specific logic from TSqlCmds
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